Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added ALL_PROXY variable.

  • Loading branch information...
commit 8c55d659668a680f77e81d72a7031af26e49a1fe 1 parent 0b3326e
@nwinkler nwinkler authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  plugins/available/proxy.plugin.bash
View
3  plugins/available/proxy.plugin.bash
@@ -8,6 +8,7 @@ disable_proxy ()
unset http_proxy
unset https_proxy
+ unset ALL_PROXY
echo "Disabled proxy environment variables"
npm_disable_proxy
@@ -21,6 +22,7 @@ enable_proxy ()
export http_proxy=$BASH_IT_HTTP_PROXY
export https_proxy=$BASH_IT_HTTPS_PROXY
+ export ALL_PROXY=$BASH_IT_HTTP_PROXY
echo "Enabled proxy environment variables"
npm_enable_proxy
@@ -36,6 +38,7 @@ show_proxy ()
echo "Environment Variables"
echo "====================="
env | grep "proxy"
+ env | grep "ALL_PROXY"
bash_it_show_proxy
npm_show_proxy
Please sign in to comment.
Something went wrong with that request. Please try again.