mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
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:
parent
0bfc97953e
commit
22d6ab84f0
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user