From: Sergey Matveev Date: Sat, 28 Mar 2020 15:44:41 +0000 (+0300) Subject: Grpck is unnecessary an alias X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=0e9bcefa3fd79bc412b883203459914e8d37e8ca Grpck is unnecessary an alias --- diff --git a/bin/bin/Grpck b/bin/bin/Grpck new file mode 100755 index 0000000..57d9152 --- /dev/null +++ b/bin/bin/Grpck @@ -0,0 +1,4 @@ +#!/bin/sh + +git gc --prune=now +git repack -a -d --depth=4095 --window=10240 diff --git a/zsh/.zshrc b/zsh/.zshrc index 4502dbe..1ac279d 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -97,7 +97,6 @@ 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 'e ++enc=utf8' -" -alias Grpck="git gc --prune=now ; git repack -a -d --depth=4095 --window=10240" bindkey -s "OQ" " git status\n" # F2 bindkey -s "OR" " git status --short\n" # F3