Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
_git: Complete rm for git-remote.
From: Mikael Magnusson <mikachu@xxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author