From a71471ca9533821105ce7ee2d9c09a53550af8a3 Mon Sep 17 00:00:00 2001 From: tinogomes Date: Fri, 31 Aug 2012 10:31:26 -0300 Subject: [PATCH] new aliases for git pull/push --- plugins/git/git.plugin.zsh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 0a5117cb5..3cc71ab98 100644 --- a/plugins/git/git.plugin.zsh +++ b/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