Updated MYIP to use ipv4.am.i.mullvad.net/json

This commit is contained in:
Phil 2022-05-05 12:21:36 +01:00
parent 5216dbf835
commit 8f1c600277

View File

@ -27,7 +27,7 @@ alias nethack-online='ssh nethack@nethack.alt.org ; clear'
alias tron-online='ssh sshtron.zachlatta.com ; clear'
# My IP Info
alias myip='MYIP=$(curl -s https://ipecho.net/plain; echo) && curl https://ipinfo.io/"$MYIP" && echo'
alias myip='curl -s https://ipv4.am.i.mullvad.net/json | python -m json.tool && echo'
alias ports-in-use='sudo lsof -i -P -n | grep LISTEN'
# Typo