summaryrefslogtreecommitdiff
path: root/plugins/shell-proxy/shell-proxy.plugin.zsh
diff options
context:
space:
mode:
authorSepts <github@septs.pw>2021-04-06 20:49:03 +0800
committerGitHub <noreply@github.com>2021-04-06 14:49:03 +0200
commit2e487b187eac96ac63c8bd0f5e3c28d5ed06d828 (patch)
tree47448822d17fc5649ccce0a56f9bb0a0700d98df /plugins/shell-proxy/shell-proxy.plugin.zsh
parent790f185e0fd8b70eab33847afe02af07f6af3a1e (diff)
downloadzsh-2e487b187eac96ac63c8bd0f5e3c28d5ed06d828.tar.gz
zsh-2e487b187eac96ac63c8bd0f5e3c28d5ed06d828.tar.bz2
zsh-2e487b187eac96ac63c8bd0f5e3c28d5ed06d828.zip
feat(shell-proxy): enable unexported `DEFAULT_PROXY` setting (#9774)
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 fd0e2fe79..315ade665 100644
--- a/plugins/shell-proxy/shell-proxy.plugin.zsh
+++ b/plugins/shell-proxy/shell-proxy.plugin.zsh
@@ -4,7 +4,7 @@
__PROXY__="${0:A:h}/proxy.py"
proxy() {
- source <("$__PROXY__" "$1")
+ source <(env "DEFAULT_PROXY=$DEFAULT_PROXY" "$__PROXY__" "$1")
}
_proxy() {