addet correct show options
This commit is contained in:
parent
4647949a2a
commit
cc04f6d907
1 changed files with 6 additions and 2 deletions
8
.zshenv
8
.zshenv
|
@ -95,8 +95,12 @@ proxy() {
|
|||
case "$1" in
|
||||
--show)
|
||||
echo "These are your proxy configurations:"
|
||||
echo "http: ${http_proxy}, HTTP: ${HTTP_PROXY}"
|
||||
echo "https: ${https_proxy}, HTTPS: ${HTTPS_PROXY}"
|
||||
if [ -n "${http_proxy}" ] || [ -n "${HTTP_PROXY}" ] || [ -n "${https_proxy}" ] || [ -n "${HTTPS_PROXY}" ]; then
|
||||
echo "http: ${http_proxy}| HTTP: ${HTTP_PROXY}"
|
||||
echo "https: ${https_proxy}| HTTPS: ${HTTPS_PROXY}"
|
||||
else
|
||||
echo "No proxy configured."
|
||||
fi
|
||||
;;
|
||||
--set)
|
||||
# ─< Check if the IP and port are reachable >─────────────────────────────────────────────
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue