Adding pretty log to git plugin (gplg).

This commit is contained in:
Joey Lomanto 2012-03-29 16:00:24 -07:00
commit 04d7bda8fb

View file

@ -30,6 +30,8 @@ alias glg='git log --stat --max-count=5'
compdef _git glg=git-log
alias glgg='git log --graph --max-count=5'
compdef _git glgg=git-log
alias gplg="git log --no-merges --graph --pretty=format:'%Cred%h%Creset - %C(green)%aN%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
compdef _git gplg=git-log
alias gss='git status -s'
compdef _git gss=git-status
alias ga='git add'