jabba
jabba copied to clipboard
How to config proxy of jabba?
Hi, I want to know how to config proxy of jabba? I have configured ALL_PROXY, but it look like didn't work.
cmd or windows terminal?
Mac zsh
Mac zsh
temporary:
export https_proxy=http://127.0.0.1:7890
export http_proxy=http://127.0.0.1:7890
export all_proxy=socks5://127.0.0.1:7890
permanent:
vim source ~/.zshrc
# proxy on
pon () {
export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890
echo "HTTP Proxy on"
}
# proxy off
poff () {
unset http_proxy
unset https_proxy
unset all_proxy
echo "HTTP Proxy off"
}
source ~/.zshrc
# turn on proxy
pon
# turn off proxy
poff
Well, I'll try it, thanks