updated to v2 of wttr.in
This commit is contained in:
parent
6b394a4ab8
commit
9ce30d6a78
@ -1,7 +1,7 @@
|
|||||||
function we -d "Get weather at location"
|
function we -d "Get weather at location"
|
||||||
if count $argv > /dev/null
|
if count $argv > /dev/null
|
||||||
curl http://wttr.in/~$argv[1]
|
curl http://v2.wttr.in/~$argv[1]
|
||||||
else
|
else
|
||||||
curl http://wttr.in/Aubervilliers
|
curl http://v2.wttr.in/Aubervilliers
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user