plugin-proxy icon indicating copy to clipboard operation
plugin-proxy copied to clipboard

Warnings appearing on subprocesses

Open MakoNakor opened this issue 8 years ago • 0 comments

https://github.com/oh-my-fish/plugin-proxy/blob/5e198ef3a8212c3a8cdb840a05e0c75e70634575/functions/__proxy.set.fish#L12 Adding a -q argument to the set command will prevent the warnings.

 ~> fish                                                                                                                         12:24
set: Warning: universal scope selected, but a global variable 'http_proxy' exists.
set: Warning: universal scope selected, but a global variable 'HTTP_PROXY' exists.
set: Warning: universal scope selected, but a global variable 'https_proxy' exists.
set: Warning: universal scope selected, but a global variable 'HTTPS_PROXY' exists.
set: Warning: universal scope selected, but a global variable 'ftp_proxy' exists.
set: Warning: universal scope selected, but a global variable 'FTP_PROXY' exists.
set: Warning: universal scope selected, but a global variable 'all_proxy' exists.
set: Warning: universal scope selected, but a global variable 'ALL_PROXY' exists.
Darwin GNWLYNA2087625 17.0.0 x86_64
12:24  up 2 days,  3:22, 3 users, load averages: 1.83 1.72 1.80
 ~>

MakoNakor avatar Oct 19 '17 16:10 MakoNakor