summaryrefslogtreecommitdiff
path: root/plugins/shell-proxy/README.md
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/README.md
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/README.md')
-rw-r--r--plugins/shell-proxy/README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/shell-proxy/README.md b/plugins/shell-proxy/README.md
index b19888c56..102e46b6b 100644
--- a/plugins/shell-proxy/README.md
+++ b/plugins/shell-proxy/README.md
@@ -23,6 +23,7 @@ Set `SHELLPROXY_URL` environment variable to the URL of the proxy server:
```sh
SHELLPROXY_URL="http://127.0.0.1:8123"
+SHELLPROXY_NO_PROXY="localhost,127.0.0.1"
proxy enable
```
@@ -36,11 +37,15 @@ Example:
```sh
#!/bin/bash
+# HTTP Proxy
if [[ "$(uname)" = Darwin ]]; then
echo "http://127.0.0.1:6152" # Surge Mac
else
echo "http://127.0.0.1:8123" # polipo
fi
+
+# No Proxy
+echo "localhost,127.0.0.1"
```
### Method 3