diff options
author | Peter Stephenson <pws@zsh.org> | 2017-09-29 16:46:01 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2017-10-02 09:44:26 +0100 |
commit | 174e560a23e40725cd0b50669a52d831342e5246 (patch) | |
tree | 6ded2f3a9cf9dc2fbece05d867f4531c8e55f575 /Doc/Zsh | |
parent | 728f2adfc8daf2c65c5d4130a903635a58c99fb5 (diff) | |
download | zsh-174e560a23e40725cd0b50669a52d831342e5246.tar.gz zsh-174e560a23e40725cd0b50669a52d831342e5246.tar.xz zsh-174e560a23e40725cd0b50669a52d831342e5246.zip |
41787 (plus minor tweaks): use $FUNCSTACK for function nesting depth.
Initialised from existing configuration value.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/params.yo | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index 05ea45f98..5757111b2 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -731,6 +731,16 @@ This value is system dependent and is intended for debugging purposes. It is also useful with the tt(zsh/system) module which allows the number to be turned into a name or message. ) +vindex(FUNCNEST) +item(tt(FUNCNEST) <S>)( +Integer. If greater than or equal to zero, the maximum nesting depth of +shell functions. When it is exceeded, an error is raised at the point +where a function is called. The default value is determined when +the shell is configured, but is typically 500. Increasing +the value increases the danger of a runaway function recursion +causing the shell to crash. Setting a negative value turns off +the check. +) vindex(GID) item(tt(GID) <S>)( The real group ID of the shell process. If you have sufficient privileges, |