mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 03:42:56 +00:00
6 lines
91 B
Fish
6 lines
91 B
Fish
if count $argv >/dev/null
|
|
curl ipinfo.io/$argv
|
|
else
|
|
curl checkip.amazonaws.com
|
|
end
|