Op 18-05-21 om 01:15 schreef Bart Schaefer:
Aside, it's a bit odd that SHLVL isn't read-only.
SHLVL is increased even when you do something like 'exec zsh' to replace your current shell with a new zsh invocation which is not actually a child shell. If you make SHLVL read-only, then it becomes impossible to correct that.
-- || modernish -- harness the shell || https://github.com/modernish/modernish || || KornShell lives! || https://github.com/ksh93/ksh