dotfiles/bin/ipp (view raw)
#!/bin/sh
if [ -f '/usr/bin/curl' ]
then curl ipinfo.io/ip
else wget -qO- ipinfo.io/ip
fi