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

crinklywrappr opened this issue Jun 9, 2019 · 2 comments

Elvish ignores SHLVL #834

crinklywrappr opened this issue Jun 9, 2019 · 2 comments


Copy link

@crinklywrappr crinklywrappr commented Jun 9, 2019

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


@xiaq xiaq added comp:lang labels Jul 20, 2019
@xiaq xiaq removed the type:enhancement label Oct 18, 2019
Copy link

@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
Copy link

@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
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants