mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-23 00:43:04 +01:00
feat(shell-proxy): allow excluding endpoints with NO_PROXY (#11924)
This commit is contained in:
1 parent
7400d469b6
commit
f36c6db0ea
3 files changed
+24
-6
No files matched your search
@@ -27,7 +27,7 @@ eval '
|
||||
|
||||
# capture the output of the proxy script and bail out if it fails
|
||||
local output
|
||||
output="$(SHELLPROXY_URL="$SHELLPROXY_URL" SHELLPROXY_CONFIG="$SHELLPROXY_CONFIG" "$proxy" "$1")" ||
|
||||
output="$(SHELLPROXY_URL="$SHELLPROXY_URL" SHELLPROXY_NO_PROXY="$SHELLPROXY_NO_PROXY" SHELLPROXY_CONFIG="$SHELLPROXY_CONFIG" "$proxy" "$1")" ||
|
||||
return $?
|
||||
|
||||
# evaluate the output generated by the proxy script
|
||||
|
||||
Reference in new issue
Block a user