-
-
Save arnoid/5e3b0e2789ee4d44b6b7f6f4cbd6e9a4 to your computer and use it in GitHub Desktop.
wttr.in shell function. source it and use as "weather city"
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
function weather() { | |
curl -s "wttr.in/$1" | grep -v "Feature\|Follow" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment