alias proxy='export https_proxy=http://127.0.0.1:7890;export http_proxy=http://127.0.0.1:7890;'
alias unproxy='unset https_proxy http_proxy'
如果使用了 socks5 代理,则需要添加相关的配置信息
alias proxy='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:7891;'
alias unproxy='unset https_proxy http_proxy all_proxy'