fix(init): remove duplicated check

It was added due to #9039. See https://github.com/ohmyzsh/ohmyzsh/pull/11400#pullrequestreview-1223587420
This commit is contained in:
Carlo Sala 2022-12-19 23:32:24 +01:00
parent 8f0e296dbf
commit 5b9de6a530

View file

@ -57,9 +57,7 @@ mkdir -p "$ZSH_CACHE_DIR/completions"
(( ${fpath[(Ie)"$ZSH_CACHE_DIR/completions"]} )) || fpath=("$ZSH_CACHE_DIR/completions" $fpath) (( ${fpath[(Ie)"$ZSH_CACHE_DIR/completions"]} )) || fpath=("$ZSH_CACHE_DIR/completions" $fpath)
# Check for updates on initial load... # Check for updates on initial load...
if [[ "$DISABLE_AUTO_UPDATE" != true ]]; then source "$ZSH/tools/check_for_upgrade.sh"
source "$ZSH/tools/check_for_upgrade.sh"
fi
# Initializes Oh My Zsh # Initializes Oh My Zsh