Update proxy configuration

This commit is contained in:
Andreas Tsouchlos 2025-06-18 22:31:57 -04:00
parent 0b1ff75233
commit 2a0ccb44d8

View File

@ -15,16 +15,17 @@
```bash
#!/bin/bash
if [ -f "/etc/proxy-enabled" ]; then
export http_proxy="127.0.0.1:8080"
export https_proxy="127.0.0.1:8080"
export ftp_proxy="127.0.0.1:8080"
export HTTP_PROXY="127.0.0.1:8080"
export HTTPS_PROXY="127.0.0.1:8080"
export FTP_PROXY="127.0.0.1:8080"
export no_proxy="localhost,127.0.0.1,::1"
export NO_PROXY="localhost,127.0.0.1,::1"
fi
if [ -f "/etc/proxy-enabled" ]; then
export all_proxy="socks5://127.0.0.1:8080"
export http_proxy="socks5://127.0.0.1:8080"
export https_proxy="socks5://127.0.0.1:8080"
export ftp_proxy="socks5://127.0.0.1:8080"
export HTTP_PROXY="socks5://127.0.0.1:8080"
export HTTPS_PROXY="socks5://127.0.0.1:8080"
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
```
2. Add the following to `.zshrc`:
```bash