]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Grpck is unnecessary an alias
authorSergey Matveev <stargrave@stargrave.org>
Sat, 28 Mar 2020 15:44:41 +0000 (18:44 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 28 Mar 2020 15:44:41 +0000 (18:44 +0300)
bin/bin/Grpck [new file with mode: 0755]
zsh/.zshrc

diff --git a/bin/bin/Grpck b/bin/bin/Grpck
new file mode 100755 (executable)
index 0000000..57d9152
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+git gc --prune=now
+git repack -a -d --depth=4095 --window=10240
index 4502dbe075f4f293eaaf2da0f7f7ddfde64f2832..1ac279d53cf5df6a3bbeac7808e49db82c396301 100644 (file)
@@ -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 "\eOQ" " git status\n" # F2
 bindkey -s "\eOR" " git status --short\n" # F3