An oh-my-zsh plugin to configure proxy settings for package managers and command-line tools.
zsh-proxy is an oh-my-zsh plugin that configures proxy settings for package managers and command-line software. It solves the problem of manually setting proxy environment variables for different tools by providing a unified interface to manage proxies across git, npm, yarn, apt, and other common development tools.
Developers using zsh/oh-my-zsh who need to work behind corporate proxies or in regions with network restrictions, particularly those who frequently use package managers and command-line tools that require proxy configuration.
Developers choose zsh-proxy because it eliminates the need to manually configure proxy settings for each individual tool, provides a simple command-line interface for toggling proxies, and automatically applies settings across multiple package managers and development tools.
:nut_and_bolt: An oh-my-zsh plugin to configure proxy
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Installs easily by cloning into oh-my-zsh plugins and adding to the plugins array, as shown in the README with clear commands for oh-my-zsh and Antigen users.
The config_proxy command provides an interactive wizard to set SOCKS5 and HTTP proxy addresses with defaults like 127.0.0.1:1080, simplifying initial configuration.
Automatically configures proxies for git, npm, yarn, apt, and standard environment variables (e.g., http_proxy), reducing manual setup across common development tools.
After configuration, proxy settings are enabled on terminal startup, ensuring consistency across sessions without needing to re-run commands each time.
The README explicitly states it doesn't support proxy with authentication, which limits its use in corporate or secure networks where credentials are required.
Only supports a subset of package managers; tools like yum, pip, and gradle are listed in the TODO, indicating gaps that users must manually address.
Exclusively works with oh-my-zsh or Antigen, making it incompatible with other shells like bash or fish, which restricts its audience.