diff --git a/config/git.zsh b/config/git.zsh index a754b46..9536cf6 100644 --- a/config/git.zsh +++ b/config/git.zsh @@ -12,7 +12,7 @@ alias glt='git tag -n --sort=taggerdate | tail -n ${1-10}' gat() { git tag -a $1 -m "$2" } gam() { git add --all && git commit -m "$*" } gitlog() { - git --no-pager log --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:$1 --graph -n ${2-10} \ + git --no-pager log --date=format:'%Y-%m-%d %H:%M' --pretty=format:$1 --graph -n ${2-10} \ } -gll() { gitlog "%h %s" $1 } -glll() { gitlog "%h %cd %cn: %s" $1 } +gll() { gitlog "%C(magenta)%h %C(cyan)%s%Creset" $1 } +glll() { gitlog "%C(magenta)%h %C(yellow)%cd %Cblue%cn: %C(cyan)%s%Creset" $1 }