1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00

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