-
-
Save threeel/04ba18257ea3014be549004e0902d5c6 to your computer and use it in GitHub Desktop.
Weather CLI
This file contains hidden or 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
| alias weather='curl -s wttr.in | sed -n "1,7p"' | |
| alias weather-long="curl -s wttr.in | sed -n '1,38p'" #long weather.. all data | |
| alias weather-today="curl -s wttr.in | sed -n '1,17p'" #weather today | |
| alias weather-tomorrow="curl -s wttr.in | sed -n '1,7p'" #weather tomorrow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment