about summary refs log tree commit diff
path: root/Completion/Base
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-05-27 14:36:33 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-05-27 14:36:33 +0000
commit3214cf0a74976e8b8d2b5dc1013666d7b9b95a9a (patch)
tree1ce0fe48b926c483fd119931be12e1b0dc3d2faa /Completion/Base
parent2b2ad86b137b2fbcd5fe8456fb128607bbe3c7e6 (diff)
downloadzsh-3214cf0a74976e8b8d2b5dc1013666d7b9b95a9a.tar.gz
zsh-3214cf0a74976e8b8d2b5dc1013666d7b9b95a9a.tar.xz
zsh-3214cf0a74976e8b8d2b5dc1013666d7b9b95a9a.zip
29384: Add _comp_caller_options
Diffstat (limited to 'Completion/Base')
-rw-r--r--Completion/Base/Completer/_expand2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/Completer/_expand b/Completion/Base/Completer/_expand
index 89cc969c5..44954a2a8 100644
--- a/Completion/Base/Completer/_expand
+++ b/Completion/Base/Completer/_expand
@@ -70,7 +70,7 @@ if [[ "$force" = *s* ]] ||
 ###  parameter expressions such as ${foo} be expanded like brace
 ###  expansions, too (and with braceccl set...).
 
-   if [[ ! -o ignorebraces && "${#${exp}//[^\{]}" = "${#${exp}//[^\}]}" ]]; then
+   if [[ ! $_comp_caller_options[ignorebraces] == on && "${#${exp}//[^\{]}" = "${#${exp}//[^\}]}" ]]; then
      local otmp
 
      tmp=${(q)word}