Skip to content

Commit

Permalink
Fix gbda alias to support color.ui = always + exclude dev branches (#…
Browse files Browse the repository at this point in the history
…4304)

* Fix gbda alias to support git config color.ui = always
* Update gbda alias to exclude develop and dev branches
  • Loading branch information
cmalard authored and mcornella committed Aug 1, 2016
1 parent 508b80c commit f553724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/git/git.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ alias gapa='git add --patch'

alias gb='git branch'
alias gba='git branch -a'
alias gbda='git branch --merged | command grep -vE "^(\*|\s*master\s*$)" | command xargs -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 gbl='git blame -b -w'
alias gbnm='git branch --no-merged'
alias gbr='git branch --remote'
Expand Down

0 comments on commit f553724

Please sign in to comment.