mirror of
https://github.com/kastdeur/dotfiles.git
synced 2025-06-01 20:09:13 +02:00
Possiblity of having special setups for hostnames
For .Bashrc aswell as generic .Profile
This commit is contained in:
parent
0fd6e855bf
commit
37123ca4cd
31 changed files with 3148 additions and 51 deletions
8
bash/scriptlets/70_wttr
Normal file
8
bash/scriptlets/70_wttr
Normal file
|
@ -0,0 +1,8 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue