1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00

Mikael Magnusson: 25591: "git remote rm" completion.

This commit is contained in:
Clint Adams 2008-09-01 20:40:28 +00:00
parent fd2f37d84b
commit 93fc754422
2 changed files with 7 additions and 1 deletions

View file

@ -674,7 +674,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
;;
@ -701,6 +702,8 @@ _git-remote () {
(update)
__git_remote-groups && ret=0
;;
(rm)
__git_remotes && ret=0
esac
;;
esac