Don't auto-set proxy variables if proxy_host unset

- The proxy plugin would create broken environment variables if it was
  enabled but proxy_host was not defined.
This commit is contained in:
James Hillyerd 2014-06-15 15:03:59 -07:00
parent 0bfc97953e
commit 22d6ab84f0

View File

@ -1,2 +1,5 @@
# Initial proxy setup (no username/password) # Initial proxy setup (no username/password)
_proxy_set "http://$proxy_host" if set -q proxy_host
_proxy_set "http://$proxy_host"
end