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_proxyhttps_proxyftp_proxyall_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