mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
_git: Offer alternatives properly.
This commit is contained in:
parent
2979122d2d
commit
3e26848ef4
1 changed files with 1 additions and 2 deletions
|
|
@ -5638,8 +5638,7 @@ __git_commits () {
|
|||
|
||||
(( $+functions[__git_heads] )) ||
|
||||
__git_heads () {
|
||||
__git_heads_local "$@"
|
||||
__git_heads_remote "$@"
|
||||
_alternative 'heads-local::__git_heads_local' 'heads-remote::__git_heads_remote'
|
||||
}
|
||||
|
||||
(( $+functions[__git_heads_local] )) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue