function pubip
if type -q jq
command curl -s ipinfo.io | command jq
else
command curl -s ipinfo.io
end