summaryrefslogtreecommitdiff
path: root/plugins/shell-proxy/shell-proxy.plugin.zsh
diff options
context:
space:
mode:
authorAbhinav <abhinavms@outlook.com>2023-10-03 00:28:42 +0530
committerGitHub <noreply@github.com>2023-10-02 20:58:42 +0200
commitf36c6db0eac17b022eee87411e6996a5f5fc8457 (patch)
tree7e7af9915f537a7607f01b931e1e446fb66b94fa /plugins/shell-proxy/shell-proxy.plugin.zsh
parent7400d469b67e2e72a6405df39c5f28cba646e1a8 (diff)
downloadzsh-f36c6db0eac17b022eee87411e6996a5f5fc8457.tar.gz
zsh-f36c6db0eac17b022eee87411e6996a5f5fc8457.tar.bz2
zsh-f36c6db0eac17b022eee87411e6996a5f5fc8457.zip
feat(shell-proxy): allow excluding endpoints with `NO_PROXY` (#11924)
Diffstat (limited to 'plugins/shell-proxy/shell-proxy.plugin.zsh')
-rw-r--r--plugins/shell-proxy/shell-proxy.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/shell-proxy/shell-proxy.plugin.zsh b/plugins/shell-proxy/shell-proxy.plugin.zsh
index 4fdbe9322..f6c31da45 100644
--- a/plugins/shell-proxy/shell-proxy.plugin.zsh
+++ b/plugins/shell-proxy/shell-proxy.plugin.zsh
@@ -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