removed autoproxy, and changed to manual functions
This commit is contained in:
parent
f4818397d0
commit
588dda7f95
1 changed files with 5 additions and 2 deletions
7
.zshrc
7
.zshrc
|
@ -7,7 +7,7 @@ LIGHT_GREEN='\033[0;92m'
|
||||||
BOLD='\033[1m'
|
BOLD='\033[1m'
|
||||||
NC='\033[0m' # No Color
|
NC='\033[0m' # No Color
|
||||||
|
|
||||||
_proxy() {
|
proxy() {
|
||||||
local ip="172.22.11.69"
|
local ip="172.22.11.69"
|
||||||
local port="8080"
|
local port="8080"
|
||||||
|
|
||||||
|
@ -26,6 +26,10 @@ _proxy() {
|
||||||
alias proxy='echo "http: $HTTP_PROXY"; echo "https: $HTTPS_PROXY"'
|
alias proxy='echo "http: $HTTP_PROXY"; echo "https: $HTTPS_PROXY"'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
noproxy() {
|
||||||
|
unset {HTTP_PROXY,HTTPS_PROXY,http_proxy,https_proxy}
|
||||||
|
}
|
||||||
|
|
||||||
# Message storage
|
# Message storage
|
||||||
typeset -A _MESSAGES
|
typeset -A _MESSAGES
|
||||||
_MESSAGES=(
|
_MESSAGES=(
|
||||||
|
@ -144,7 +148,6 @@ _sources() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_environment() {
|
_environment() {
|
||||||
_proxy
|
|
||||||
if command_exists nvim; then
|
if command_exists nvim; then
|
||||||
export EDITOR="$(which nvim)"
|
export EDITOR="$(which nvim)"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue