$SHLVL
–
Zsh Nesting Level
$SHLVL
contains the level of nested Z shells.
Links
Examples
- Print the nesting level of the Zsh process
- Output:
1
echo $(echo $(echo $SHLVL))
1
2
BashSupport Pro ist eine Zsh IDE mit Unterstützung für $SHLVL - probieren Sie es jetzt aus!