diff options
Diffstat (limited to 'Completion/Base/Completer')
-rw-r--r-- | Completion/Base/Completer/_expand_alias | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Base/Completer/_expand_alias b/Completion/Base/Completer/_expand_alias index 8240e4162..9064ce830 100644 --- a/Completion/Base/Completer/_expand_alias +++ b/Completion/Base/Completer/_expand_alias @@ -25,6 +25,8 @@ else pre=(_main_complete - aliases) fi +[[ "$compstate[quoting]" = (single|double) ]] || word="${(Q)word}" + zstyle -s ":completion:${curcontext}:" regular tmp || tmp=yes case $tmp in always) sel=r;; |