switch to brew for managing all apps

This commit is contained in:
2024-11-26 23:09:17 -08:00
parent ce78f833f3
commit e73044a1ca
4 changed files with 30 additions and 165 deletions

View File

@@ -14,7 +14,7 @@ function shownetinfo() {
ROUTR=$(system_profiler SPNetworkDataType | grep "Router:" | cut -c 19-30 | head -1)
LANIP=$(ifconfig | grep -v "127.0.0.1" | grep "inet " | head -1 | cut -d " " -f2)
if [ "$ROUTR" != "" ]; then
WANIP=$(gtimeout 0.25s curl -s ipv4.icanhazip.com)
WANIP=$(timeout 0.25s curl -s ipv4.icanhazip.com)
fi
fi
tput setaf 7; tput bold; echo -en "Net: "