馃敥

Zsh OSX AutoProxy

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

SukkaW
|
76 stars
5 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-autoproxySukka, Released under the MIT License.
Authored and maintained by Sukka with help from contributors (list).

Personal WebsiteBlog 路 GitHub @SukkaW 路 Telegram Channel @SukkaChannel 路 Twitter @isukkaw 路 Keybase @sukka