From 3214cf0a74976e8b8d2b5dc1013666d7b9b95a9a Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Fri, 27 May 2011 14:36:33 +0000 Subject: 29384: Add _comp_caller_options --- Completion/Base/Completer/_expand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Base') 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} -- cgit 1.4.1