update weather with a default

This commit is contained in:
Daylin Morgan 2023-05-16 12:42:14 -05:00
parent 643d23a5d3
commit d6a467d64e
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -1,3 +1,5 @@
#!/bin/zsh
# What is the weather?
curl "http://wttr.in/$1"
##? What is the weather?
##? defaults to showing Austin, Tx
curl "http://wttr.in/${1:-Austin,Tx}"