freebsd-ports/shells/ohmyzsh/files/patch-oh-my-zsh.sh
2022-01-28 23:21:29 +00:00

15 lines
430 B
Bash

Disable auto update
--- oh-my-zsh.sh.orig 2022-01-28 23:08:18 UTC
+++ oh-my-zsh.sh
@@ -56,11 +56,6 @@ fi
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
-
# Initializes Oh My Zsh
# add a function path