mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-25 04:51:31 +01:00
zsh: cleanup selfupdate mechanism
This commit is contained in:
parent
72a02e22e0
commit
0bfa411f7a
|
@ -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"
|
||||
|
|
|
@ -37,7 +37,6 @@ function update_dotfiles() {
|
|||
}
|
||||
|
||||
() {
|
||||
|
||||
if [[ -n $DOTFILES_FORCEUPDATE ]]; then
|
||||
update_dotfiles;
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user