From b2647f1a10ebdcd5a6a3203f084cd58b89b84559 Mon Sep 17 00:00:00 2001 From: Ilya Antipenko Date: Tue, 9 Dec 2014 12:19:38 +0200 Subject: [PATCH 1/2] Add support for remove remote branch --- plugins/git/git.plugin.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index bf7cd1ac9..9ecbe5464 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -15,6 +15,8 @@ alias gup='git pull --rebase' compdef _git gup=git-fetch alias gp='git push' compdef _git gp=git-push +alias gp='git push --delete' +compdef _git gpd=git-push alias gd='git diff' gdv() { git diff -w "$@" | view - } compdef _git gdv=git-diff From 58e752fc7d00109f72c59738a3dbe2c2a3a05291 Mon Sep 17 00:00:00 2001 From: Ilya Antipenko Date: Tue, 9 Dec 2014 12:20:59 +0200 Subject: [PATCH 2/2] Update git.plugin.zsh --- plugins/git/git.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 9ecbe5464..f5a3c828b 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -15,7 +15,7 @@ alias gup='git pull --rebase' compdef _git gup=git-fetch alias gp='git push' compdef _git gp=git-push -alias gp='git push --delete' +alias gpd='git push --delete' compdef _git gpd=git-push alias gd='git diff' gdv() { git diff -w "$@" | view - }