updated to v2 of wttr.in
This commit is contained in:
1 parent
6b394a4ab8
commit
9ce30d6a78
1 file changed
+2
-2
@@ -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
|
||||||
Reference in new issue
Block a user