mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01: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
|
|
@ -1,5 +1,8 @@
|
|||
2008-08-31 Clint Adams <clint@zsh.org>
|
||||
|
||||
* Frank Terbeck: 25561: Completion/Unix/Command/_git: fix quoting
|
||||
with aliases.
|
||||
|
||||
* Mikael Magnusson: 25564: Completion/Unix/Command/_git:
|
||||
suppress error output in __git_is_treeish.
|
||||
|
||||
|
|
|
|||
|
|
@ -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