Open lokeshh opened 7 years ago
Best way I think is to just remove it when unseting the proxy instead of setting it to false. WDYT @Akarshit @clearnote01 ?
Just realized there's one more problem. Doing http_proxy=""
isn't enough. Some programs take blank to be the hostname (funny but true). We need to unset these environment variables properly.
This line caused me a lot of trouble. Setting it simply to false works for apt but my other programs like eclipse stopped working because they were reading from apt config settings. Took me a lot of time to figure this out.