Discover, install, and configure shell plugins with Fig Plugin Store →
🔩

Zsh OSX AutoProxy

An oh-my-zsh plugin that configures proxy environment variables based on macOS's system preferences automatically

SukkaW
|
94 stars
10 forks

Usage

After install the plugin and have proxy configured in System Prefrences, start a new terminal session and following environment variables will be set (if applicable):

  • http_proxy
  • https_proxy
  • ftp_proxy
  • all_proxy

Uninstallation

If you install zsh-osx-autoproxy with Antigen, you need to remove antigen bundle sukkaw/zsh-osx-autoproxy to disable the plugin. If you install zsh-osx-autoproxy with oh-myzsh, you need to remove zsh-osx-autoproxy item from plugin array, then rm -rf ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-osx-autoproxy to remove the plugin.

Author

zsh-osx-autoproxy © Sukka, Released under the MIT License.
Authored and maintained by Sukka with help from contributors (list).

Personal Website · Blog · GitHub @SukkaW · Telegram Channel @SukkaChannel · Twitter @isukkaw · Keybase @sukka