diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2010-03-15 21:17:50 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2010-03-15 21:17:50 +0000 |
commit | 1b68e0ea00deb508b394f1c0a4413205e621c293 (patch) | |
tree | ceb974cfa3f7846f40d65db995295ac6324cbb4a /Completion | |
parent | 7f3590c68fa37812a4f79ceb5a41bdd7ca565067 (diff) | |
download | zsh-1b68e0ea00deb508b394f1c0a4413205e621c293.tar.gz zsh-1b68e0ea00deb508b394f1c0a4413205e621c293.tar.xz zsh-1b68e0ea00deb508b394f1c0a4413205e621c293.zip |
Mikael: 27797: delimit arguments to compadd in _expand_alias
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Base/Completer/_expand_alias | 2 |
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 |