From 3c72c568d7a6ce40e052c29a16e1ec4805a09335 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 6 Mar 2011 10:16:13 +0100 Subject: zshrc: Disable proxy by default, add aliases to enable it --- etc/.zshrc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/etc/.zshrc b/etc/.zshrc index d25e8aa..6ff2365 100644 --- a/etc/.zshrc +++ b/etc/.zshrc @@ -72,10 +72,6 @@ if (( EUID != 0)) { export MAKEFLAGS=j$(grep -c '^processor' /proc/cpuinfo) -if [[ -e /sys/class/net/vpn ]] { - export http_proxy='http://10.200.200.2:8080/' -} - if [[ -n ${commands[clang]} ]] { export CC=clang } @@ -400,6 +396,9 @@ alias x='unsetopt bg_nice; startx &! exit' alias xxz='xz -v -9 -M 800M' +alias wprox='http_proxy=http://10.200.200.2:8080/' +alias eprox='export http_proxy=http://10.200.200.2:8080/' + # }}} if [[ ${distro} == debian ]] { #{{{ -- cgit v1.2.3