$SHLVL  –  Zsh Nesting Level

$SHLVL contains the level of nested Z shells.

Examples

Print the nesting level of the Zsh process
1
echo $(echo $(echo $SHLVL))
Output:
1
2
BashSupport Pro ist eine Zsh IDE mit Unterstützung für $SHLVL - probieren Sie es jetzt aus!
© 2020–2024 Joachim Ansorg
Impressum
Datenschutz
Rechtliches