$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 是一款支持 shlvl** 的 **Zsh 集成开发环境 - 立即试用!