diff options
| author | Bart Schaefer <schaefer@ipost.com> | 2021-04-12 13:59:06 -0700 |
|---|---|---|
| committer | Bart Schaefer <schaefer@ipost.com> | 2021-04-12 13:59:06 -0700 |
| commit | b3613e4895f7b059558c4ef211189b516dbf903d (patch) | |
| tree | 5ac6989a564cfb079b73a1f13a3d2a89ff881bb9 /Doc/Zsh/builtins.yo | |
| parent | Add TYPESET_DOES_NOT_SET option (cf. 48469) (diff) | |
| download | zsh-b3613e4895f7b059558c4ef211189b516dbf903d.tar zsh-b3613e4895f7b059558c4ef211189b516dbf903d.tar.gz zsh-b3613e4895f7b059558c4ef211189b516dbf903d.tar.bz2 zsh-b3613e4895f7b059558c4ef211189b516dbf903d.tar.lz zsh-b3613e4895f7b059558c4ef211189b516dbf903d.tar.xz zsh-b3613e4895f7b059558c4ef211189b516dbf903d.tar.zst zsh-b3613e4895f7b059558c4ef211189b516dbf903d.zip | |
Change TYPESET_DOES_NOT_SET to TYPESET_TO_UNSET to avoid double-negative
Diffstat (limited to 'Doc/Zsh/builtins.yo')
| -rw-r--r-- | Doc/Zsh/builtins.yo | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index a7afe42cf..61dc6986f 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1872,7 +1872,11 @@ ifnzman(noderef(Local Parameters))\ retain their special attributes when made local. For each var(name)tt(=)var(value) assignment, the parameter -var(name) is set to var(value). +var(name) is set to var(value). If the assignment is omitted and var(name) +does em(not) refer to an existing parameter, a new parameter is intialized +to empty string, zero, or empty array (as appropriate), em(unless) the +shell option tt(TYPESET_TO_UNSET) is set. When that option is set, +the parameter attributes are recorded but the parameter remains unset. If the shell option tt(TYPESET_SILENT) is not set, for each remaining var(name) that refers to a parameter that is already set, the name and |
