summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2019-04-02 19:05:52 +0200
committerGitHub <noreply@github.com>2019-04-02 19:05:52 +0200
commit831fba4ee4bc28d1d0a3a3f94d5b4dcdfce04588 (patch)
treeea1daaf34e02cc641b28d7e732a28fb9a3d15b87
parent93cbc1614c9900f310a48de69447e035df84e1cb (diff)
downloadzsh-831fba4ee4bc28d1d0a3a3f94d5b4dcdfce04588.tar.gz
zsh-831fba4ee4bc28d1d0a3a3f94d5b4dcdfce04588.tar.bz2
zsh-831fba4ee4bc28d1d0a3a3f94d5b4dcdfce04588.zip
Revert "git: delete branches in `gbda` only if there are any (#6079)" (#7724)
This reverts commit 0e0789fb7aedd1afd8ae07dfc9609f6a7f2e407f.
-rw-r--r--plugins/git/git.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index 8482c4d54..5bef95bd5 100644
--- a/plugins/git/git.plugin.zsh
+++ b/plugins/git/git.plugin.zsh
@@ -50,7 +50,7 @@ alias gap='git apply'
alias gb='git branch'
alias gba='git branch -a'
alias gbd='git branch -d'
-alias gbda='git branch --no-color --merged | command grep -vE "^(\*|\s*(master|develop|dev)\s*$)" | command xargs -r -n 1 git branch -d'
+alias gbda='git branch --no-color --merged | command grep -vE "^(\*|\s*(master|develop|dev)\s*$)" | command xargs -n 1 git branch -d'
alias gbD='git branch -D'
alias gbl='git blame -b -w'
alias gbnm='git branch --no-merged'