From 92ee30e7be6b02dd7da6670d12832d657eef23cc Mon Sep 17 00:00:00 2001 From: ncanceill Date: Tue, 10 Jun 2014 10:08:44 +0200 Subject: [PATCH] Added aliases suggested by @santacruz123 fixes #2433 --- plugins/git/git.plugin.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 178d079d8..1eee3451e 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -54,6 +54,8 @@ alias gdc='git diff --cached' compdef _git gdc=git-diff gdv() { git diff -w "$@" | view - } compdef _git gdv=git-diff +alias gbl='git blame -b -w' +compdef _git gbl=git-blame # Pull alias gl='git pull' compdef _git gl=git-pull @@ -160,6 +162,8 @@ alias grh='git reset HEAD' compdef _git grh=git-reset alias grhh='git reset HEAD --hard' compdef _git grhh=git-reset +alias gru='git reset --' +compdef _git gru=git-reset alias gclean='git reset --hard && git clean -dfx' # Log alias gcount='git shortlog -sn'