From: Sergey Matveev Date: Thu, 5 Nov 2020 21:02:15 +0000 (+0300) Subject: git --oneline includes --abbrev-commit X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=88ecfdb056ab1ad260e66dab8a4534778e16f49e git --oneline includes --abbrev-commit --- diff --git a/zsh/.zshrc b/zsh/.zshrc index 0210c72..62ec28c 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -123,10 +123,9 @@ alias Gs="git show --show-signature" alias Gm="git diff --name-only --diff-filter=M" alias Gam="git commit --amend" -git_common="--oneline --abbrev-commit" -alias Gl="git log $git_common --graph --decorate=short" -alias Gr="git --no-pager log $git_common -n 20 | perl -ne 'print \"@~\$n \$_\"; \$n++'" -alias Grr="git --no-pager log $git_common --graph -n 1024 | vi -c 'setlocal filetype=gitrebase buftype=nofile noswapfile' -" +alias Gl="git log --oneline --graph --decorate=short" +alias Gr="git --no-pager log --oneline -n 20 | perl -ne 'print \"@~\$n \$_\"; \$n++'" +alias Grr="git --no-pager log --oneline --graph -n 1024 | vi -c 'setlocal filetype=gitrebase buftype=nofile noswapfile' -" bindkey -s "OR" " git status --short\n" # F3 # }}}