about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-06-18 16:20:38 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2016-06-18 16:20:38 -0700
commit25ae250068134eb87d8be1bd9aeee1590918d120 (patch)
tree27a4fb2722e8b4b28ab6129a7ae7e4b247aa31bb
parent61a383ec4d21b90dc5ff138a76baf0a930b91c7a (diff)
downloadzsh-25ae250068134eb87d8be1bd9aeee1590918d120.tar.gz
zsh-25ae250068134eb87d8be1bd9aeee1590918d120.tar.xz
zsh-25ae250068134eb87d8be1bd9aeee1590918d120.zip
unposted: when ksharrays is set, braces are required for all parameter expansions with colon-modifiers
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/options.yo3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e97c22b84..cc547e5fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 
 	* unposted: Functions/Misc/zed: localoptions noksharrays
 
+	* unposted: Doc/Zsh/options.yo: when ksharrays is set, braces are
+	required for all parameter expansions with colon-modifiers
+
 2016-06-18  Oliver Kiddle  <opk@zsh.org>
 
 	* 38713: Completion/Unix/Type/_dates: don't add calendar matches
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index 2fce10780..0eaaecae3 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -1929,7 +1929,8 @@ Emulate bf(ksh) array handling as closely as possible.  If this option
 is set, array elements are numbered from zero, an array parameter
 without subscript refers to the first element instead of the whole array,
 and braces are required to delimit a subscript (`tt(${path[2]})' rather
-than just `tt($path[2])').
+than just `tt($path[2])') or to apply modifiers to any parameter
+(`tt(${PWD:h})' rather than `tt($PWD:h)').
 )
 pindex(KSH_AUTOLOAD)
 pindex(NO_KSH_AUTOLOAD)