From 9592b31fa2ce1201d57bb3cb3a807846ca288354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 18 Sep 2022 10:57:46 +0200 Subject: shellrc.d/git: add sgit --- shellrc.d/git | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shellrc.d/git') diff --git a/shellrc.d/git b/shellrc.d/git index 7c34846..2b2b441 100644 --- a/shellrc.d/git +++ b/shellrc.d/git @@ -52,3 +52,8 @@ gitbnew() { git branch "$1" HEAD gitbcheckout "$1" } + +# Git that uses SOCKS on my favorite port +sgit() { + ALL_PROXY=socks5h://localhost:8123 git "$@" +} -- cgit v1.2.3