diff options
author | Abhinav <abhinavms@outlook.com> | 2023-10-03 00:28:42 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 20:58:42 +0200 |
commit | f36c6db0eac17b022eee87411e6996a5f5fc8457 (patch) | |
tree | 7e7af9915f537a7607f01b931e1e446fb66b94fa /plugins/shell-proxy/shell-proxy.plugin.zsh | |
parent | 7400d469b67e2e72a6405df39c5f28cba646e1a8 (diff) | |
download | zsh-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.zsh | 2 |
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 |