summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-08-31 16:09:08 +0000
committerClint Adams <clint@users.sourceforge.net>2008-08-31 16:09:08 +0000
commit2c52a13aa5d18797b6acdc40b03dfd1bc3a60eeb (patch)
treefa9f3a4e13b8f0c40af5317e12c3cbc127c903e2 /Completion
parentba539203f90d1e393a7860c735e38aef4797c1de (diff)
downloadzsh-2c52a13aa5d18797b6acdc40b03dfd1bc3a60eeb.tar.gz
zsh-2c52a13aa5d18797b6acdc40b03dfd1bc3a60eeb.tar.xz
zsh-2c52a13aa5d18797b6acdc40b03dfd1bc3a60eeb.zip
Frank Terbeck: 25561: fix quoting with aliases.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_git2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 1ec948047..ae33de0fd 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -4290,7 +4290,7 @@ if (( CURRENT >= 3 )) && [[ -n ${git_aliases[$words[2]]} ]] ; then
   if [[ -z "${words[3,-1]}" ]] ; then
       tmpwords[$(( ${#tmpwords} + 1 ))]=""
   else
-      tmpwords+=("${words[3,-1]}")
+      tmpwords+=(${words[3,-1]})
   fi
   words=("${tmpwords[@]}")
   (( CURRENT += ${#${(z)git_aliases[$words[2]]}} - 1 ))