From 25ae250068134eb87d8be1bd9aeee1590918d120 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sat, 18 Jun 2016 16:20:38 -0700 Subject: unposted: when ksharrays is set, braces are required for all parameter expansions with colon-modifiers --- Doc/Zsh/options.yo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Doc/Zsh/options.yo') 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) -- cgit 1.4.1