zsh-proxy icon indicating copy to clipboard operation
zsh-proxy copied to clipboard

Add one-line proxy

Open QuarticCat opened this issue 3 years ago • 4 comments

Quote from modified README.md:

with_proxy

An one-liner version that only take effect in one command. It is similar to proxychains -q, but it can handle some cases that proxychains can not (e.g. yay). Add it in front of your command:

$ with_proxy <your-command>

Note that this is just an environment variable trick, it can not proxy your git and npm.

QuarticCat avatar Jan 30 '21 20:01 QuarticCat

Note that this is just an environment variable trick, it can not proxy your git and npm.

LGTM. And BTW, both npm & git respect HTTP_PROXY & HTTPS_PROXY.

SukkaW avatar Feb 03 '21 16:02 SukkaW

@SukkaW Updated

QuarticCat avatar Feb 03 '21 17:02 QuarticCat

Is there any further information?

QuarticCat avatar Mar 03 '21 19:03 QuarticCat

CC @SukkaW

septs avatar Mar 03 '21 19:03 septs