From 88ecfdb056ab1ad260e66dab8a4534778e16f49e Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 6 Nov 2020 00:02:15 +0300 Subject: [PATCH] git --oneline includes --abbrev-commit --- zsh/.zshrc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 # }}} -- 2.44.0