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.
pull/2/head
James Hillyerd 10 years ago
parent 0bfc97953e
commit 22d6ab84f0

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

Loading…
Cancel
Save