summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-02-21 11:32:47 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-02-21 11:32:47 +0000
commit73ebca4fe92767665422e7fd5dc15032add389b4 (patch)
tree940334b89637f87be9fd71d3920481842a7ba1c0 /Doc/Zsh
parent0e792b944707fdb8abafa4b4e3f3952154189c6f (diff)
downloadzsh-73ebca4fe92767665422e7fd5dc15032add389b4.tar.gz
zsh-73ebca4fe92767665422e7fd5dc15032add389b4.tar.xz
zsh-73ebca4fe92767665422e7fd5dc15032add389b4.zip
28783: allow parentheses to be special in more places with SH_GLOB
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/options.yo8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index 842e5c27b..4ecf8f831 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -683,8 +683,12 @@ item(tt(SH_GLOB) <K> <S>)(
 Disables the special meaning of `tt(LPAR())', `tt(|)', `tt(RPAR())'
 and 'tt(<)' for globbing the result of parameter and command substitutions,
 and in some other places where
-the shell accepts patterns.  This option is set by default if zsh is
-invoked as tt(sh) or tt(ksh).
+the shell accepts patterns.  If tt(SH_GLOB) is set but tt(KSH_GLOB) is
+not, the shell allows the interpretation of
+subshell expressions enclosed in parentheses in some cases where there
+is no space before the opening parenthesis, e.g. tt(!LPAR()true+RPAR())
+is interpreted as if there were a space after the tt(!).  This option is
+set by default if zsh is invoked as tt(sh) or tt(ksh).
 )
 pindex(UNSET)
 pindex(NO_UNSET)