From 183fdb480f2cbb313d1039f9576494275a013fbd Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Thu, 18 Sep 2014 15:52:55 +0200 Subject: [PATCH] git lol(a) Signed-off-by: Gaetan Semet --- plugins/git2/git2.plugin.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/git2/git2.plugin.zsh b/plugins/git2/git2.plugin.zsh index 336e39f34..5562d7a0a 100644 --- a/plugins/git2/git2.plugin.zsh +++ b/plugins/git2/git2.plugin.zsh @@ -178,6 +178,10 @@ compdef _git glgga=git-log # one line git log alias glo='git log --oneline' compdef _git glo=git-log +alias glol="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" +compdef _git glol=git-log +alias glola="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all" +compdef _git glola=git-log ###################### # Git Reset Head (grh)