From 90d7b21bc5687b1cabaa42ef682de2e1299d023c Mon Sep 17 00:00:00 2001 From: Cyryl Plotnicki-Chudyk Date: Fri, 24 Oct 2014 14:34:18 +0200 Subject: [PATCH] route ssh via tor by default, with exception of cygwin --- .zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zshrc b/.zshrc index 332cfeb2..7041cd26 100644 --- a/.zshrc +++ b/.zshrc @@ -66,6 +66,8 @@ fi if [[ `uname` =~ 'CYGWIN.*' ]]; then export DISPLAY=:0.0 +else + alias ssh="torsocks ssh" fi 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 KEYTIMEOUT=1 + +