feat(shell-proxy): enable unexported DEFAULT_PROXY setting (#9774)

This commit is contained in:
Septs
2021-04-06 20:49:03 +08:00
committed by GitHub
parent 790f185e0f
commit 2e487b187e
2 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@
__PROXY__="${0:A:h}/proxy.py"
proxy() {
source <("$__PROXY__" "$1")
source <(env "DEFAULT_PROXY=$DEFAULT_PROXY" "$__PROXY__" "$1")
}
_proxy() {