Skip to content

Instantly share code, notes, and snippets.

@ziyi-yan
Last active July 13, 2019 15:52
Show Gist options
  • Save ziyi-yan/8ef71f1ca6d13f83818654cf39995ed1 to your computer and use it in GitHub Desktop.
Save ziyi-yan/8ef71f1ca6d13f83818654cf39995ed1 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ -f ~/.bash_profile ]
then
. ~/.bash_profile
fi
export http_proxy='http://127.0.0.1:1087'
export https_proxy='http://127.0.0.1:1087'
export PS1="[PROXY] $PS1"
bash -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment