summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDavid <david@tecgia.com>2020-05-22 10:54:10 -0400
committerGitHub <noreply@github.com>2020-05-22 16:54:10 +0200
commita25efd1e311f19baef083ac885467bce2dd2f555 (patch)
tree5c4fc39ff9b9ef09982951c5383de21c5815d01c /plugins
parentb721053c87b4662c65452117a8db35af0154a29d (diff)
downloadzsh-a25efd1e311f19baef083ac885467bce2dd2f555.tar.gz
zsh-a25efd1e311f19baef083ac885467bce2dd2f555.tar.bz2
zsh-a25efd1e311f19baef083ac885467bce2dd2f555.zip
git: exclude devel branch from list in gbda alias (#8957)
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 b355f72ce..7406dde27 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\|development\|develop\|dev)\s*$)" \| command xargs -n 1 git branch -d |
+| gbda | git branch --no-color --merged \| command grep -vE "^(\+\|\*\|\s*(master\|development\|develop\|devel\|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 474d7d85d..32c720c6f 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|development|develop|dev)\s*$)" | command xargs -n 1 git branch -d'
+alias gbda='git branch --no-color --merged | command grep -vE "^(\+|\*|\s*(master|development|develop|devel|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'