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
|
case "$1" in
|
||||||
--show)
|
--show)
|
||||||
echo "These are your proxy configurations:"
|
echo "These are your proxy configurations:"
|
||||||
echo "http: ${http_proxy}, HTTP: ${HTTP_PROXY}"
|
if [ -n "${http_proxy}" ] || [ -n "${HTTP_PROXY}" ] || [ -n "${https_proxy}" ] || [ -n "${HTTPS_PROXY}" ]; then
|
||||||
echo "https: ${https_proxy}, HTTPS: ${HTTPS_PROXY}"
|
echo "http: ${http_proxy}| HTTP: ${HTTP_PROXY}"
|
||||||
|
echo "https: ${https_proxy}| HTTPS: ${HTTPS_PROXY}"
|
||||||
|
else
|
||||||
|
echo "No proxy configured."
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
--set)
|
--set)
|
||||||
# ─< Check if the IP and port are reachable >─────────────────────────────────────────────
|
# ─< Check if the IP and port are reachable >─────────────────────────────────────────────
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue