diff --git a/modules/git/init.zsh b/modules/git/init.zsh index ec14420..ce83e68 100644 --- a/modules/git/init.zsh +++ b/modules/git/init.zsh @@ -6,7 +6,12 @@ # Settings # -# Log +# Log Colour scheme: +# Commit hash (%H) - Yellow +# Author name (%an) - Cyan +# Author date (%ai) - Blue +# Ref names (%d) - Auto +# See: https://git-scm.com/docs/pretty-formats _git_log_medium_format='%C(bold)Commit:%C(reset) %C(yellow)%H%C(auto)%d%n%C(bold)Author:%C(reset) %C(cyan)%an <%ae>%n%C(bold)Date:%C(reset) %C(blue)%ai (%ar)%C(reset)%n%+B' _git_log_oneline_format='%C(yellow)%h%C(reset) %s%C(auto)%d%C(reset)%n' _git_log_fullgraph_format='%C(yellow)%h%C(reset) %<|(60,trunc)%s %C(cyan)<%an> %C(blue)(%cd)%C(auto)%d%C(reset)%n'