config.phundrak.com/fishfunctions/we.fish
2019-08-28 17:31:53 +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