From: Alexander Barton Date: Tue, 2 Apr 2024 18:59:22 +0000 (+0200) Subject: homebrew: Set HOMEBREW_AUTO_UPDATE_SECS to 10 minutes X-Git-Url: https://arthur.ath.cx/gitweb/?a=commitdiff_plain;h=59db498f17a9ec82cbac9dae1e95a29d26e3c592;p=ax-zsh.git homebrew: Set HOMEBREW_AUTO_UPDATE_SECS to 10 minutes --- diff --git a/plugins/homebrew/homebrew.zprofile b/plugins/homebrew/homebrew.zprofile index df0c30c..9a3b14a 100644 --- a/plugins/homebrew/homebrew.zprofile +++ b/plugins/homebrew/homebrew.zprofile @@ -21,8 +21,10 @@ for dir ( "$HOMEBREW_PREFIX/share/zsh/site-functions" ); do [[ -d "$dir" ]] && axzsh_fpath+=("$dir") - done unset dir brew_cmd +# Set some defaults, if not set already. +[[ -z "$HOMEBREW_AUTO_UPDATE_SECS" ]] && HOMEBREW_AUTO_UPDATE_SECS=600 + return 0