This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# updated version here: https://gist.github.com/garystafford/8196920 | |
# loosely based on post from ArchWiki and Alan Pope | |
# https://wiki.archlinux.org/index.php/proxy_settings | |
# this is alternative to git config | |
# configure proxy for git while on corporate network | |
function proxy_on(){ | |
read -s -p "Enter Password: " PASSWORD | |
export PROXY_SERVER=my_proxy |