Skip to content

Instantly share code, notes, and snippets.

@Eminlin
Last active March 29, 2023 14:34
Show Gist options
  • Save Eminlin/23926d7883fc06839401f477e282a120 to your computer and use it in GitHub Desktop.
Save Eminlin/23926d7883fc06839401f477e282a120 to your computer and use it in GitHub Desktop.
zsh开启代理配置
function off(){
unset http_proxy
unset https_proxy
echo -e "*** off ***"
}
function on(){
export http_proxy="http://127.0.0.1:1087"
export https_proxy=$http_proxy
echo -e "*** on ***"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment