mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-21 12:11:26 +01:00
24702: fix 24701
This commit is contained in:
parent
2448f0f7aa
commit
9e1c419497
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
2008-03-09 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 24701: Completion/Unix/Command/_git: use $service instead of
|
||||
* 24701, 24702: Completion/Unix/Command/_git: use $service instead of
|
||||
$words[1] so completion will work if git is an alias to a wrapper.
|
||||
|
||||
2008-03-08 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
|
|
@ -4155,8 +4155,8 @@ __git_is_indexed () {
|
|||
__git_aliases_and_commands
|
||||
;;
|
||||
(options)
|
||||
curcontext="${curcontext%:*:*}:git-$service:"
|
||||
_call_function ret _git-$service
|
||||
curcontext="${curcontext%:*:*}:git-$words[1]:"
|
||||
_call_function ret _git-$words[1]
|
||||
;;
|
||||
esac
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue