Make git work through ldiproxy
This commit is contained in:
parent
d85417d216
commit
f0a5b0923c
2 changed files with 6 additions and 0 deletions
3
.config/fish/functions/git-proxy.fish
Normal file
3
.config/fish/functions/git-proxy.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function git-proxy --wraps='git' --description 'Use git through ldiproxy'
|
||||
GIT_SSH_COMMAND='ssh -o "ProxyCommand=nc -X connect -x ldiproxy.lsjv.rlp.de:8080 %h %p"' git $argv;
|
||||
end
|
3
.config/fish/functions/pgit.fish
Normal file
3
.config/fish/functions/pgit.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function pgit --wraps='git-proxy' --description 'alias git-proxy'
|
||||
git-proxy $argv;
|
||||
end
|
Loading…
Reference in a new issue