Update proxy configuration
This commit is contained in:
parent
0b1ff75233
commit
2a0ccb44d8
@ -15,16 +15,17 @@
|
|||||||
```bash
|
```bash
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -f "/etc/proxy-enabled" ]; then
|
if [ -f "/etc/proxy-enabled" ]; then
|
||||||
export http_proxy="127.0.0.1:8080"
|
export all_proxy="socks5://127.0.0.1:8080"
|
||||||
export https_proxy="127.0.0.1:8080"
|
export http_proxy="socks5://127.0.0.1:8080"
|
||||||
export ftp_proxy="127.0.0.1:8080"
|
export https_proxy="socks5://127.0.0.1:8080"
|
||||||
export HTTP_PROXY="127.0.0.1:8080"
|
export ftp_proxy="socks5://127.0.0.1:8080"
|
||||||
export HTTPS_PROXY="127.0.0.1:8080"
|
export HTTP_PROXY="socks5://127.0.0.1:8080"
|
||||||
export FTP_PROXY="127.0.0.1:8080"
|
export HTTPS_PROXY="socks5://127.0.0.1:8080"
|
||||||
export no_proxy="localhost,127.0.0.1,::1"
|
export FTP_PROXY="socks5://127.0.0.1:8080"
|
||||||
export NO_PROXY="localhost,127.0.0.1,::1"
|
export no_proxy="localhost,127.0.0.1,::1"
|
||||||
fi
|
export NO_PROXY="localhost,127.0.0.1,::1"
|
||||||
|
fi
|
||||||
```
|
```
|
||||||
2. Add the following to `.zshrc`:
|
2. Add the following to `.zshrc`:
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user