Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elvish ignores SHLVL #834

Closed
crinklywrappr opened this issue Jun 9, 2019 · 2 comments
Closed

Elvish ignores SHLVL #834

crinklywrappr opened this issue Jun 9, 2019 · 2 comments
Labels
Milestone

Comments

@crinklywrappr
Copy link

@crinklywrappr crinklywrappr commented Jun 9, 2019

SHLVL is often used to track 'how many shells deep you are'.

image

@krader1961
Copy link
Contributor

@krader1961 krader1961 commented Apr 18, 2020

Support for env var SHLVL should be implemented. Even though I despise the POSIX shell standard this feature is useful and does not otherwise imply support for that flawed standard.

@xiaq xiaq added this to the 0.14 milestone Apr 19, 2020
@xiaq
Copy link
Member

@xiaq xiaq commented Apr 19, 2020

SHLVL doesn't seem to be documented by POSIX, just a de-facto standard. It's easy enough to implement.

@xiaq xiaq closed this in 6938c8d Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.