update weather with a default
This commit is contained in:
parent
643d23a5d3
commit
d6a467d64e
1 changed files with 4 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
# What is the weather?
|
##? What is the weather?
|
||||||
curl "http://wttr.in/$1"
|
##? defaults to showing Austin, Tx
|
||||||
|
|
||||||
|
curl "http://wttr.in/${1:-Austin,Tx}"
|
||||||
|
|
Loading…
Reference in a new issue