Skip to content

Commit

Permalink
fix(init): remove duplicated check
Browse files Browse the repository at this point in the history
It was added due to ohmyzsh#9039. See ohmyzsh#11400 (review)
  • Loading branch information
carlosala committed Jan 17, 2023
1 parent 8f0e296 commit 5b9de6a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions oh-my-zsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ mkdir -p "$ZSH_CACHE_DIR/completions"
(( ${fpath[(Ie)"$ZSH_CACHE_DIR/completions"]} )) || fpath=("$ZSH_CACHE_DIR/completions" $fpath)

# Check for updates on initial load...
if [[ "$DISABLE_AUTO_UPDATE" != true ]]; then
source "$ZSH/tools/check_for_upgrade.sh"
fi
source "$ZSH/tools/check_for_upgrade.sh"

# Initializes Oh My Zsh

Expand Down

0 comments on commit 5b9de6a

Please sign in to comment.