dotfiles/fishfunctions/we.fish
2019-07-21 03:27:31 +02:00

8 lines
173 B
Fish

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