summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/.zshrc b/etc/.zshrc
index d6f940a..c941ed2 100644
--- a/etc/.zshrc
+++ b/etc/.zshrc
@@ -72,6 +72,10 @@ 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
}