Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 2/5] _git: Offer alternatives properly.
- X-seq: zsh-workers 38366
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH 2/5] _git: Offer alternatives properly.
- Date: Sat, 30 Apr 2016 00:48:16 +0000
- In-reply-to: <1461977299-3770-1-git-send-email-danielsh@tarsus.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1461977299-3770-1-git-send-email-danielsh@tarsus.local2>
---
Completion/Unix/Command/_git | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index a925efb..c41b352 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] )) ||
Messages sorted by:
Reverse Date,
Date,
Thread,
Author