From 04d7bda8fbfe82cc6f40090b83d1f3a500c4bb84 Mon Sep 17 00:00:00 2001 From: Joey Lomanto Date: Thu, 29 Mar 2012 16:00:24 -0700 Subject: [PATCH] Adding pretty log to git plugin (gplg). --- plugins/git/git.plugin.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index e1d682508..864b8f666 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -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'