config.phundrak.com/.config/fish/functions/we.fish
2019-09-26 20:49:23 +02:00

8 lines
179 B
Fish

function we -d "Get weather at location"
if count $argv > /dev/null
curl http://v2.wttr.in/~$argv[1]
else
curl http://v2.wttr.in/Aubervilliers
end
end