summary refs log tree commit diff
path: root/Completion/Base/Completer
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-03-15 21:17:50 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-03-15 21:17:50 +0000
commit1b68e0ea00deb508b394f1c0a4413205e621c293 (patch)
treeceb974cfa3f7846f40d65db995295ac6324cbb4a /Completion/Base/Completer
parent7f3590c68fa37812a4f79ceb5a41bdd7ca565067 (diff)
downloadzsh-1b68e0ea00deb508b394f1c0a4413205e621c293.tar.gz
zsh-1b68e0ea00deb508b394f1c0a4413205e621c293.tar.xz
zsh-1b68e0ea00deb508b394f1c0a4413205e621c293.zip
Mikael: 27797: delimit arguments to compadd in _expand_alias
Diffstat (limited to 'Completion/Base/Completer')
-rw-r--r--Completion/Base/Completer/_expand_alias2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Base/Completer/_expand_alias b/Completion/Base/Completer/_expand_alias
index d950bf9f3..8848e668d 100644
--- a/Completion/Base/Completer/_expand_alias
+++ b/Completion/Base/Completer/_expand_alias
@@ -58,7 +58,7 @@ if [[ -n $tmp ]]; then
       tmp="\\$tmp"
     fi
   fi
-  $pre _wanted aliases expl alias compadd -UQ ${tmp%%[[:blank:]]##}
+  $pre _wanted aliases expl alias compadd -UQ -- ${tmp%%[[:blank:]]##}
 elif (( $#pre )) && zstyle -t ":completion:${curcontext}:" complete; then
   $pre _aliases -s "$sel" -S ''
 else