Overview | Installation | Configuration | License
This is zsh plugin to toggle the environment variables of proxy.
You can use zplug to install pctl.
Add the following to your .zshrc
:
zplug 'ytet5uy4/pctl'
Add the following to your .zshrc
:
export PROXY_ADDRESS=proxy.example.com PORT=8080
To keep the environment variables of proxy when using sudo
,
append the following to /etc/sudoers
via sudo visudo
:
Defaults env_keep += "http_proxy https_proxy"
Copyright (c) 2015 ytet5uy4
Released under the MIT License, see LICENSE.md.