16 lines
393 B
Bash
16 lines
393 B
Bash
set_proxy() {
|
|
export http_proxy=http://127.0.0.1:8668;export https_proxy=http://127.0.0.1:8668;
|
|
}
|
|
set_vagrant_proxy() {
|
|
export http_proxy=http://127.0.0.1:9119;export https_proxy=http://127.0.0.1:9119;
|
|
}
|
|
set_ss_proxy() {
|
|
export https_proxy=socks5://127.0.0.1:1080/
|
|
export http_proxy=socks5://127.0.0.1:1080/
|
|
}
|
|
unset_proxy() {
|
|
unset all_proxy
|
|
unset http_proxy
|
|
unset https_proxy
|
|
}
|