3 ms·
`function weather() { curl "http://wttr.in/$1";}` http://wttr.in/$1";}` Not sure why it needs to be more complicated than that.
by tomswartz07 9y ago
`function weather() { curl "http://wttr.in/$1";}` http://wttr.in/$1";}`
Not sure why it needs to be more complicated than that.
- aaronchall 9y agothe function keyword is unnecessary - removing it makes the function creation more cross-compatible with different shells.