X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=shell%2Fshell%2Fenv;h=1d36c1b2480b0d6d4ee825210773b859c140e4de;hb=f4b6a840a03304a034bf8336f4c08d7e0e127d73;hp=f3e42937f3adf700f08fdf82f206652e8b65cc42;hpb=29fe133e2b4ca2a25342fa9a4c3e661bc38895f2;p=config%2Fdotfiles.git diff --git a/shell/shell/env b/shell/shell/env index f3e4293..1d36c1b 100644 --- a/shell/shell/env +++ b/shell/shell/env @@ -139,4 +139,9 @@ fi MTR_OPTIONS='--show-ips' export MTR_OPTIONS +# Use short SSH timeout for Git commands so remote fetches/pushes fail +# quickly. Thanks to ceddral for the idea. +GIT_SSH_COMMAND='ssh -o ConnectTimeout=3' +export GIT_SSH_COMMAND + # vim: ft=sh