mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
feat(shell-proxy): enable unexported DEFAULT_PROXY setting (#9774)
This commit is contained in:
parent
790f185e0f
commit
2e487b187e
2 changed files with 4 additions and 3 deletions
|
|
@ -4,7 +4,7 @@
|
|||
__PROXY__="${0:A:h}/proxy.py"
|
||||
|
||||
proxy() {
|
||||
source <("$__PROXY__" "$1")
|
||||
source <(env "DEFAULT_PROXY=$DEFAULT_PROXY" "$__PROXY__" "$1")
|
||||
}
|
||||
|
||||
_proxy() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue