diff --git a/config/git.zsh b/config/git.zsh index c5d84f8..a720339 100644 --- a/config/git.zsh +++ b/config/git.zsh @@ -17,7 +17,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' --pretty=format:$1 --graph -n ${2-10} \ + git --no-pager log --date=format:'%Y-%m-%d %H:%M' --pretty=tformat:$1 --graph -n ${2-10} \ } gll() { gitlog "%C(${hashColor})%h %C(${contentColor})%s%Creset" $1 } glll() { gitlog "%C(${hashColor})%h %C(${dateColor})%cd %C(${authorColor})%cn: %C(${contentColor})%s%Creset" $1 }