diff --git a/.zshrc b/.zshrc index 36758e7..b483f53 100644 --- a/.zshrc +++ b/.zshrc @@ -7,7 +7,7 @@ LIGHT_GREEN='\033[0;92m' BOLD='\033[1m' NC='\033[0m' # No Color -_proxy() { +proxy() { local ip="172.22.11.69" local port="8080" @@ -26,6 +26,10 @@ _proxy() { alias proxy='echo "http: $HTTP_PROXY"; echo "https: $HTTPS_PROXY"' } +noproxy() { + unset {HTTP_PROXY,HTTPS_PROXY,http_proxy,https_proxy} +} + # Message storage typeset -A _MESSAGES _MESSAGES=( @@ -144,7 +148,6 @@ _sources() { } _environment() { - _proxy if command_exists nvim; then export EDITOR="$(which nvim)" fi