1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-11-14 07:33:32 +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