Skip to content

glynx/zsh-set-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

zsh-set-proxy

Configures proxychains in your shell.

Usage

Set a proxy. Protocol defaults to socks5, host to 127.0.0.1.

set-proxy [http|socks4|socks5] [HOST] PORT

Reset the proxy.

unset-proxy

Prompt Integration

To show the current proxy in the right element for your Powerlevel10k prompt, add the following configuration to ~/.p10k.zsh:

typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
  [...]
  proxychains
)

About

Set a proxy and wrap with proxychains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages