summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-03-06 10:16:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-03-06 10:16:13 +0100
commit3c72c568d7a6ce40e052c29a16e1ec4805a09335 (patch)
tree33692dfa92a153b82b6a3906b379145fafe6d1b5
parent8c6aba6e8f45166b86c4524167d47f5a5371cb8d (diff)
zshrc: Disable proxy by default, add aliases to enable it
-rw-r--r--etc/.zshrc7
1 files 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 ]] { #{{{