summaryrefslogtreecommitdiff
path: root/net:osn.sagem/host:osnp1260077/user:hugues/Environment.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'net:osn.sagem/host:osnp1260077/user:hugues/Environment.zsh')
-rw-r--r--net:osn.sagem/host:osnp1260077/user:hugues/Environment.zsh10
1 files changed, 8 insertions, 2 deletions
diff --git a/net:osn.sagem/host:osnp1260077/user:hugues/Environment.zsh b/net:osn.sagem/host:osnp1260077/user:hugues/Environment.zsh
index 7c15a49..26ddb04 100644
--- a/net:osn.sagem/host:osnp1260077/user:hugues/Environment.zsh
+++ b/net:osn.sagem/host:osnp1260077/user:hugues/Environment.zsh
@@ -43,5 +43,11 @@ hash -d K:=/media/osn01001/Projets_STB
hash -d J:=/media/osn02001/Echanges
# proxy
-export http_proxy="http://190.99.3.97:3128"
-export ftp_proxy=$http_proxy
+if cmd_exists tsocks
+then
+ . tsocks -on
+else
+ export http_proxy="http://190.99.3.97:3128"
+ export ftp_proxy=$http_proxy
+fi
+