mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 05:10:28 +02:00
Frank Terbeck: 25561: fix quoting with aliases.
This commit is contained in:
parent
ba539203f9
commit
2c52a13aa5
2 changed files with 4 additions and 1 deletions
|
|
@ -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 ))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue