aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-03-12 22:45:01 +0800
committergxlin <[email protected]>2021-03-12 22:45:01 +0800
commit785045abe5fefb87d251e4feab1d6a8da4a5f2af (patch)
treef8ead45d1fe7e78bb524a309e3501fb51e494f6e /.zshrc
parent27c10d02727974a6891f055f37a04c845e2b8a77 (diff)
downloaddotfiles-785045abe5fefb87d251e4feab1d6a8da4a5f2af.tar.gz
dotfiles-785045abe5fefb87d251e4feab1d6a8da4a5f2af.tar.bz2
dotfiles-785045abe5fefb87d251e4feab1d6a8da4a5f2af.zip
Remove proxy config
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc14
1 files changed, 0 insertions, 14 deletions
diff --git a/.zshrc b/.zshrc
index c12e265..3429007 100644
--- a/.zshrc
+++ b/.zshrc
@@ -18,12 +18,6 @@ HISTFILE=~/.zsh_history
[[ -s /etc/profile.d/autojump.sh ]] && source /etc/profile.d/autojump.sh
-# proxy
-export http_proxy=http://127.0.0.1:7890
-export https_proxy=http://127.0.0.1:7890
-export all_proxy=socks5://127.0.0.1:7890
-export no_proxy=localhost,127.0.0.1
-
# System Specific
case `uname` in
Darwin)
@@ -48,14 +42,6 @@ FreeBSD)
;;
esac
-# WSL 2
-if [[ `uname -a` =~ "microsoft" ]]; then
- export hostip=$(cat /etc/resolv.conf | grep -oP '(?<=nameserver\ ).*')
- export http_proxy="socks5://${hostip}:7890"
- export https_proxy="socks5://${hostip}:7890"
- export all_proxy="socks5://${hostip}:7890"
-fi
-
# zplug
if [ ! -d ~/.zplug ]; then
echo 'Installing zplug ... '