diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-04-29 08:53:48 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-05-01 01:52:28 +0000 |
commit | 3e26848ef4e1a9dfd1893dca1646086dfcad9f6d (patch) | |
tree | 6cdd4be2142abbd2fd9596777346caa5b9510ff8 | |
parent | 2979122d2d8fe6604840d209d13b8645e2ef142e (diff) | |
download | zsh-3e26848ef4e1a9dfd1893dca1646086dfcad9f6d.tar.gz zsh-3e26848ef4e1a9dfd1893dca1646086dfcad9f6d.tar.xz zsh-3e26848ef4e1a9dfd1893dca1646086dfcad9f6d.zip |
_git: Offer alternatives properly.
-rw-r--r-- | Completion/Unix/Command/_git | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 135da9f85..d7b874a90 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -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] )) || |