diff --git a/brethil_dotfile.sh b/brethil_dotfile.sh index fca01e2..ae8efb4 100755 --- a/brethil_dotfile.sh +++ b/brethil_dotfile.sh @@ -1,10 +1,8 @@ # vim:ft=zsh ts=2 sw=2 sts=2 export LANG=en_US.UTF-8 -# Check for update, set DISABLE_UPDATE_PROMPT=true to disable the prompt and automatically update -if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then - source "${DOTFILES}/check_for_update.zsh" -fi +# Set DISABLE_DOTFILES_AUTOUPDATE=false to disable updates +source "${DOTFILES}/check_for_update.zsh" # theme-related variables export ZSH_CUSTOM="$DOTFILES" diff --git a/check_for_update.zsh b/check_for_update.zsh index 80ac291..c6b16be 100755 --- a/check_for_update.zsh +++ b/check_for_update.zsh @@ -37,7 +37,6 @@ function update_dotfiles() { } () { - if [[ -n $DOTFILES_FORCEUPDATE ]]; then update_dotfiles; return;