summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-09-03 09:16:54 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-09-03 09:16:54 +0000
commit61864a802fe59f0ec90dad38e1846ef645b0011e (patch)
tree8f80308514e9b574b02ce1d2aa8673d2e871c75c /Completion
parent0cba5ef62ad8e98924c2bd9367f9c7c7e72e2fd0 (diff)
downloadzsh-61864a802fe59f0ec90dad38e1846ef645b0011e.tar.gz
zsh-61864a802fe59f0ec90dad38e1846ef645b0011e.tar.xz
zsh-61864a802fe59f0ec90dad38e1846ef645b0011e.zip
Jörg Sommer <joerg@alea.gnuu.de>: 25598/25599:
auto-remove automatically added = in alias completion
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Zsh/Command/_alias2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Command/_alias b/Completion/Zsh/Command/_alias
index c7b67c40a..617627cbe 100644
--- a/Completion/Zsh/Command/_alias
+++ b/Completion/Zsh/Command/_alias
@@ -19,6 +19,6 @@ if [[ -n "$state" ]]; then
     compset -S '=*' || suf='='
     type=( ${opt_args[(i)[-+][grs]]#?} )
     (( $#type )) && type=( -s $type )
-    _wanted -x alias expl 'alias definition' _aliases -S "$suf" "$type[@]"
+    _wanted -x alias expl 'alias definition' _aliases -qS "$suf" "$type[@]"
   fi
 fi