$FUNCNEST
–
Maximum Nesting Depth of Shell Functions
$FUNCNEST defines the maximum nest depth of shell function invocations.
The value is only applied if it’s >= 0.
Links
BashSupport Pro is a Zsh IDE with support for $FUNCNEST – try it now!