From e4e56f03124d113a9153d72a633a4b632b030e9e Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Tue, 31 Jan 2012 23:53:05 -0500 Subject: [PATCH] Prettify the default git log. --- plugins/git/alias.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/alias.zsh b/plugins/git/alias.zsh index d78778e8..50284f6f 100644 --- a/plugins/git/alias.zsh +++ b/plugins/git/alias.zsh @@ -116,7 +116,7 @@ git_log_format_oneline='--pretty=format:%C(green)%h%C(reset) %s%C(red)%d%C(reset git_log_format_oneline_more='--pretty=format:%C(green)%h%C(reset) %C(blue)%ad%C(reset) %s%C(red)%d%C(reset) [%C(magenta)%an%C(reset)]' git_log_format_medium='--pretty=format:%C(green)Commit: %H%C(red)%d%C(reset)%n%C(magenta)Author: %an <%ae>%C(reset)%n%C(blue)Date: %cd%C(reset)%n%+s%n%+b' -alias gl='git log' +alias gl='git log --topo-order ${git_log_format_medium}' compdef _git gl=git-log alias glo='git log --topo-order ${git_log_format_oneline}' compdef _git glo=git-log