Another useful alias for getting IP information

Also use -s flag in curl so we don't get progress bars.
This commit is contained in:
Fernando Schauenburg 2019-11-03 03:27:14 +01:00
parent d053c5c82c
commit c5baba5f5f

View file

@ -215,8 +215,9 @@ alias tail='tail -n $((${LINES:-15}-5))'
# below using the OpenDNS resolver doesn't work when connected to # below using the OpenDNS resolver doesn't work when connected to
# ExpressVPN because all DNS requests are handled by the ExpressVPN DNS # ExpressVPN because all DNS requests are handled by the ExpressVPN DNS
# servers and the OpenDNS DNS resolver is blocked. # servers and the OpenDNS DNS resolver is blocked.
alias myip="curl https://ifconfig.co" alias ipinfo="curl -s ipinfo.io"
#alias myip="curl https://ifconfig.me" alias myip="curl -s https://ifconfig.co"
#alias myip="curl -s https://ifconfig.me"
#alias myip="dig +short myip.opendns.com @resolver1.opendns.com" #alias myip="dig +short myip.opendns.com @resolver1.opendns.com"
alias light='_update_colors light' alias light='_update_colors light'