Created
April 14, 2016 14:42
-
-
Save rnagle/6e74126c2215ebb3b4c69d3efa66d01a to your computer and use it in GitHub Desktop.
Weather for your shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ex. weather "Chicago, IL" | |
function weather() { | |
local location="$1"; | |
curl "http://wttr.in/$location"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment