summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMikael Andersson Wigander <mikael.grevsten@gmail.com>2020-05-21 18:13:14 +0200
committerGitHub <noreply@github.com>2020-05-21 18:13:14 +0200
commitd8f674cc8e4a3139db6bd10ea28a27e36aab0088 (patch)
treed3d52882c1822a7672bd60ac3519b6184f1f6de5 /plugins
parent31c2dc32c2b8e270d0ae10ddc059e192f70f204c (diff)
downloadzsh-d8f674cc8e4a3139db6bd10ea28a27e36aab0088.tar.gz
zsh-d8f674cc8e4a3139db6bd10ea28a27e36aab0088.tar.bz2
zsh-d8f674cc8e4a3139db6bd10ea28a27e36aab0088.zip
git: exclude 'development' in gdba alias (#8902)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/git/README.md2
-rw-r--r--plugins/git/git.plugin.zsh2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/git/README.md b/plugins/git/README.md
index dbe565634..b355f72ce 100644
--- a/plugins/git/README.md
+++ b/plugins/git/README.md
@@ -22,7 +22,7 @@ plugins=(... git)
| gb | git branch |
| gba | git branch -a |
| gbd | git branch -d |
-| gbda | git branch --no-color --merged \| command grep -vE "^(\+\|\*\|\s*(master\|develop\|dev)\s*$)" \| command xargs -n 1 git branch -d |
+| gbda | git branch --no-color --merged \| command grep -vE "^(\+\|\*\|\s*(master\|development\|develop\|dev)\s*$)" \| command xargs -n 1 git branch -d |
| gbD | git branch -D |
| gbl | git blame -b -w |
| gbnm | git branch --no-merged |
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index 3ff5b1f5a..474d7d85d 100644
--- a/plugins/git/git.plugin.zsh
+++ b/plugins/git/git.plugin.zsh
@@ -42,7 +42,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 -n 1 git branch -d'
+alias gbda='git branch --no-color --merged | command grep -vE "^(\+|\*|\s*(master|development|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'