diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Doc/Zsh/options.yo | 3 |
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) |