Browse files

new aliases for git pull/push

  • Loading branch information...
1 parent 67677b5 commit a71471ca9533821105ce7ee2d9c09a53550af8a3 @tinogomes committed Aug 31, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 plugins/git/git.plugin.zsh
View
7 plugins/git/git.plugin.zsh
@@ -93,4 +93,9 @@ alias ggpnp='git pull origin $(current_branch) && git push origin $(current_bran
compdef ggpnp=git
# Remove from repo all files deleted
-alias gitstrm="git st | egrep 'deleted' | sed -e 's/#//' -e 's/deleted:/git rm/' | sh"
+alias gitstrm='git st | egrep "deleted" | sed -e "s/#//" -e "s/deleted:/git rm/" | sh'
+
+alias gpush='git push'
+compdef gpush=git
+alias gpull='git pull'
+compdef gpull=git

0 comments on commit a71471c

Please sign in to comment.