From ffae856b3ea17661f6a95dc5f26e75ffe7495963 Mon Sep 17 00:00:00 2001 From: wyatt Date: Sun, 1 Nov 2015 14:46:17 +0800 Subject: [PATCH] Improve oneline logs enhance alise glog (see image) --- plugins/git/git.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index d78b82df3..1f35928d7 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -161,7 +161,7 @@ alias glgm='git log --graph --max-count=10' alias glo='git log --oneline --decorate --color' 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 --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --" alias glp="_git_log_prettily" compdef _git glp=git-log