This is a simple bash script that sets environment variables to fix proxy settings not working with sudo in the command line.
It is mostly for use by students or workers who have to switch to a using a proxy on the fly.
In order for this to work on the initial run, make sure u remove any proxy related setting in environment and remove any files with the names "environment.bak" and "envronment.proxy.bak" .
I hope this works for you !!! ๐ ๐ ๐ ๐
ilmossp / proxy_environment_setter Goto Github PK
View Code? Open in Web Editor NEWsimple bash script that sets environment variables to fix proxy settings not working with sudo in the command line.