summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2016-03-30 04:46:22 +0200
committerMarc Cornellà <marc.cornella@live.com>2016-03-30 04:46:22 +0200
commitb4a85eca9de2d2d2a31a2ca8f9e1846cf53108db (patch)
tree2c84916f1fc871a00ac3b6bf943dcdbc824a443c
parent7cc1eab6fa186750c20380963a044630e43d010a (diff)
parentd853ec4b629f24c6622f414f312fbf83cec0990d (diff)
downloadzsh-b4a85eca9de2d2d2a31a2ca8f9e1846cf53108db.tar.gz
zsh-b4a85eca9de2d2d2a31a2ca8f9e1846cf53108db.tar.bz2
zsh-b4a85eca9de2d2d2a31a2ca8f9e1846cf53108db.zip
Merge pull request #4728 from atk91/4727
Remove --color flag from git log aliases The way to colorize `git log` output is by setting the `color.ui` configuration.
-rw-r--r--plugins/git/git.plugin.zsh10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index 4291da7ba..95ce1ae26 100644
--- a/plugins/git/git.plugin.zsh
+++ b/plugins/git/git.plugin.zsh
@@ -146,15 +146,15 @@ alias gke='\gitk --all $(git log -g --pretty=format:%h)'
compdef _git gke='gitk'
alias gl='git pull'
-alias glg='git log --stat --color'
-alias glgp='git log --stat --color -p'
-alias glgg='git log --graph --color'
+alias glg='git log --stat'
+alias glgp='git log --stat -p'
+alias glgg='git log --graph'
alias glgga='git log --graph --decorate --all'
alias glgm='git log --graph --max-count=10'
-alias glo='git log --oneline --decorate --color'
+alias glo='git log --oneline --decorate'
alias glol="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias glola="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all"
-alias glog='git log --oneline --decorate --color --graph'
+alias glog='git log --oneline --decorate --graph'
alias glp="_git_log_prettily"
compdef _git glp=git-log