updated to v2 of wttr.in

This commit is contained in:
Phuntsok Drak-pa 2019-08-28 17:31:53 +02:00
parent 6b394a4ab8
commit 9ce30d6a78
1 changed files with 2 additions and 2 deletions

View File

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