zsh: cleanup selfupdate mechanism

fix-ci
bretello 2022-08-22 10:11:24 +02:00
parent 72a02e22e0
commit 0bfa411f7a
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
2 changed files with 2 additions and 5 deletions

View File

@ -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"

View File

@ -37,7 +37,6 @@ function update_dotfiles() {
}
() {
if [[ -n $DOTFILES_FORCEUPDATE ]]; then
update_dotfiles;
return;