From: Mikael Magnusson <mikachu@gmail.com>
To: zsh-workers@sunsite.dk
Subject: _git: Complete rm for git-remote.
Date: Mon, 1 Sep 2008 22:35:26 +0200 (CEST) [thread overview]
Message-ID: <alpine.LNX.1.00.0809012234060.24353@localhost> (raw)
In-Reply-To: <alpine.LNX.1.00.0809012231400.24353@localhost>
From: Mikael Magnusson <mikachu@gmail.com>
Date: Sun, 31 Aug 2008 06:21:30 +0200
Subject: [PATCH] _git: Complete rm for git-remote.
---
Completion/Unix/Command/_git | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 3b6a4ad..2d2c93e 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -676,7 +676,8 @@ _git-remote () {
'add:add a new remote'
'show:show information about a given remote'
'prune:delete all stale tracking branches for a given remote'
- 'update:fetch updates for a set of remotes')
+ 'update:fetch updates for a set of remotes'
+ 'rm:remove a remote from .git/config and all associated tracking branches')
_describe -t commands 'sub-command' commands && ret=0
;;
@@ -703,6 +704,8 @@ _git-remote () {
(update)
__git_remote-groups && ret=0
;;
+ (rm)
+ __git_remotes && ret=0
esac
;;
esac
--
1.6.0.GIT
--
Mikael Magnusson
next prev parent reply other threads:[~2008-09-01 20:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-01 20:32 _git: Update add completion Mikael Magnusson
2008-09-01 20:35 ` Mikael Magnusson [this message]
2008-09-02 11:26 ` _git: There were two _git-clean(), add -s to the kept one Mikael Magnusson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.1.00.0809012234060.24353@localhost \
--to=mikachu@gmail.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).