浏览代码

Add aliases for git-remote: gr...

mapc 13 年之前
父节点
当前提交
3dd3c1f415
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      plugins/git/git.plugin.zsh

+ 12 - 0
plugins/git/git.plugin.zsh

@@ -18,6 +18,18 @@ compdef _git gca=git-commit
 alias gco='git checkout'
 compdef _git gco=git-checkout
 alias gcm='git checkout master'
+alias gr='git remote'
+compdef _git gr=git-remote
+alias grv='git remote -v'
+compdef _git grv=git-remote
+alias grmv='git remote rename'
+compdef _git grmv=git-remote
+alias grrm='git remote remove'
+compdef _git grrm=git-remote
+alias grset='git remote set-url'
+compdef _git grset=git-remote
+alias grup='git remote update'
+compdef _git grset=git-remote
 alias gb='git branch'
 compdef _git gb=git-branch
 alias gba='git branch -a'