nano ~/.bashrc
add the alias below: alias proxy=" export http_proxy=http://127.0.0.1:12333; export https_proxy=http://127.0.0.1:12333;" alias unproxy=" unset http_proxy; unset https_proxy;"
save and go.
交流を、より自然に Oops, not AI, but HI (human massive intelligence)
nano ~/.bashrc
add the alias below: alias proxy=" export http_proxy=http://127.0.0.1:12333; export https_proxy=http://127.0.0.1:12333;" alias unproxy=" unset http_proxy; unset https_proxy;"
save and go.
Open “Terminal” app
nano ~/.bash_profile or ~/.zshrc (if you're using zsh shell) paste code below and save: # proxy list, 1086 is the default port, check it through shadowsocks app (advanced preference). alias proxy='export all_proxy=socks5://127.0.0.1:1086' alias unproxy='unset all_proxy' source .bash_profile
Create a new Terminal window and input:
proxy
# and access anything through vpn now!
...
unproxy
# stop vpn