mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 17:00:32 +02:00
Mikael Magnusson: 25591: "git remote rm" completion.
This commit is contained in:
parent
fd2f37d84b
commit
93fc754422
2 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
||||||
2008-09-01 Clint Adams <clint@zsh.org>
|
2008-09-01 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
|
* Mikael Magnusson: 25591: Completion/Unix/Command/_git:
|
||||||
|
"git remote rm" completion.
|
||||||
|
|
||||||
* Mikael Magnusson: 25590: Completion/Unix/Command/_git:
|
* Mikael Magnusson: 25590: Completion/Unix/Command/_git:
|
||||||
update "git add" completion.
|
update "git add" completion.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -674,7 +674,8 @@ _git-remote () {
|
||||||
'add:add a new remote'
|
'add:add a new remote'
|
||||||
'show:show information about a given remote'
|
'show:show information about a given remote'
|
||||||
'prune:delete all stale tracking branches for 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
|
_describe -t commands 'sub-command' commands && ret=0
|
||||||
;;
|
;;
|
||||||
|
|
@ -701,6 +702,8 @@ _git-remote () {
|
||||||
(update)
|
(update)
|
||||||
__git_remote-groups && ret=0
|
__git_remote-groups && ret=0
|
||||||
;;
|
;;
|
||||||
|
(rm)
|
||||||
|
__git_remotes && ret=0
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue