Adds options for update check

If the env variable UPDATE_CHECK is set to "daily", "weekly" or
"monthly", there will be a message if you're late on your update.

If the env variable UPDATE_CHECK_ALWAYS is set to "true", you will get a
message telling you that your system is up to date.
This commit is contained in:
2019-02-01 15:18:33 +01:00
parent b71d8f6e6d
commit 0fa53b8b95
3 changed files with 33 additions and 5 deletions

4
zshrc
View File

@@ -10,6 +10,10 @@ ZSH_CUSTOM=$HOME/.config/dotfiles/zsh/oh-my-zsh
ZSH_THEME="laptop"
if [ -f $DOTFILES/zsh/env.zsh ]; then
source $DOTFILES/zsh/env.zsh
fi
source $DOTFILES/zsh/config.zsh
source $DOTFILES/zsh/path.zsh
source $DOTFILES/zsh/exports.zsh