1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-22 17:23:33 +01:00
dotfiles/bash/scriptlets/70_wttr

9 lines
208 B
Text
Raw Normal View History

#This file should be cronned from: wttr.in/<place>
#For example:
#27 */2 * * * curl -s wttr.in/Voorthuizen | sed -n 3,7p > .wttr 2>&1
WTTR=~/.wttr
if [ -f $WTTR ]; then
cat $WTTR
alias wttr='cat $WTTR'
fi