route ssh via tor by default, with exception of cygwin

This commit is contained in:
Cyryl Plotnicki-Chudyk 2014-10-24 14:34:18 +02:00
parent ca03571492
commit 90d7b21bc5

4
.zshrc
View file

@ -66,6 +66,8 @@ fi
if [[ `uname` =~ 'CYGWIN.*' ]]; then if [[ `uname` =~ 'CYGWIN.*' ]]; then
export DISPLAY=:0.0 export DISPLAY=:0.0
else
alias ssh="torsocks ssh"
fi fi
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
@ -74,3 +76,5 @@ export PATH=/usr/local/heroku/bin:$PATH
export EDITOR="vim" export EDITOR="vim"
export KEYTIMEOUT=1 export KEYTIMEOUT=1