Open
Description
Partical Contents of .zshrc
[~]$ cat zshrc.d/01.proxy.sh
function setproxy(){
export http_proxy='socks5h://127.0.0.1:7890'
export https_proxy='socks5h://127.0.0.1:7890'
export socks5_proxy='socks5h://127.0.0.1:7890'
export all_proxy='socks5h://127.0.0.1:7890'
}
function unsetproxy(){
export http_proxy=''
export https_proxy=''
export socks5_proxy=''
export all_proxy=''
}
The Error msg
Caught Error while parsing environment variable 'http_proxy'
Exception: [AbstractOptionHandler.cc:69] errorCode=28 We encountered a problem while processing the option '--http-proxy'.
-> [OptionHandlerImpl.cc:520] errorCode=1 unrecognized proxy format
Caught Error while parsing environment variable 'https_proxy'
Exception: [AbstractOptionHandler.cc:69] errorCode=28 We encountered a problem while processing the option '--https-proxy'.
-> [OptionHandlerImpl.cc:520] errorCode=1 unrecognized proxy format
Caught Error while parsing environment variable 'all_proxy'
Exception: [AbstractOptionHandler.cc:69] errorCode=28 We encountered a problem while processing the option '--all-proxy'.
-> [OptionHandlerImpl.cc:520] errorCode=1 unrecognized proxy format
Metadata
Metadata
Assignees
Labels
No labels