From 0e9bcefa3fd79bc412b883203459914e8d37e8ca Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 28 Mar 2020 18:44:41 +0300 Subject: [PATCH] Grpck is unnecessary an alias --- bin/bin/Grpck | 4 ++++ zsh/.zshrc | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 bin/bin/Grpck 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 -- 2.44.0