changed echo coloring for git functions

This commit is contained in:
pika 2025-03-27 12:16:53 +01:00
parent 230877740a
commit 5530994c56
2 changed files with 14 additions and 15 deletions

View file

@ -124,7 +124,7 @@ proxy() {
# ────────────< check network availability and set proxy if in correct network >────────────
noproxy
if ping -w2 -q swu.dom; then
if ping -c 1 -W 2 swu.dom &>/dev/null; then
proxy --set
else
noproxy