Skip to content

Instantly share code, notes, and snippets.

@arnoid
Forked from logcat/wttrin.sh
Created July 30, 2016 09:18
Show Gist options
  • Save arnoid/5e3b0e2789ee4d44b6b7f6f4cbd6e9a4 to your computer and use it in GitHub Desktop.
Save arnoid/5e3b0e2789ee4d44b6b7f6f4cbd6e9a4 to your computer and use it in GitHub Desktop.
wttr.in shell function. source it and use as "weather city"
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