diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index d6e49154a..2fd67b278 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -29,6 +29,8 @@ alias glg='git log --stat --max-count=5' compdef _git glg=git-log alias glp='git log --pretty=short --graph' compdef _git glp=git-log +alias lg="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative" +compdef _git lg="git-log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative" # Git and svn mix alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'