赞
踩
vim ~/.zshrc
alias proxy='export all_proxy=socks5://127.0.0.1:1080'
alias unproxy='unset all_proxy'
source ~/.zshrc
curl ipinfo.io
# 开启
proxy
# 关闭
unproxy
原文地址:https://www.hangge.com/blog/cache/detail_3138.html
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。