summary refs log tree commit diff
path: root/Completion/Zsh/Context
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-06-04 21:32:06 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-06-04 21:32:06 +0000
commitd7582f006f950be2622bc0d5ff26aaaa20af3b7f (patch)
treeae95a74541d09eb28cd6a13907a73dfc829c56cb /Completion/Zsh/Context
parentd292edc4dc4b35438dbbf0906a568d5eedfa1761 (diff)
downloadzsh-d7582f006f950be2622bc0d5ff26aaaa20af3b7f.tar.gz
zsh-d7582f006f950be2622bc0d5ff26aaaa20af3b7f.tar.xz
zsh-d7582f006f950be2622bc0d5ff26aaaa20af3b7f.zip
29459: Further fixes for parameter flag completion,
plus drive-by fix for double-quoted parameter completion with flags
Diffstat (limited to 'Completion/Zsh/Context')
-rw-r--r--Completion/Zsh/Context/_brace_parameter2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Context/_brace_parameter b/Completion/Zsh/Context/_brace_parameter
index e6a2c4c80..c0ecf251b 100644
--- a/Completion/Zsh/Context/_brace_parameter
+++ b/Completion/Zsh/Context/_brace_parameter
@@ -4,7 +4,7 @@ local char delim found_percent found_m exp
 local -a flags
 integer q_last n_q
 
-if [[ $PREFIX = '${('[^\)]# ]]; then
+if [[ $PREFIX = *'${('[^\)]# ]]; then
   # Parameter flags.
   compset -p 3