From 9a9c82a9ce9c0dfd8cb3520614ef824b8e63aa8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Fo=CC=88rster?= Date: Sat, 15 Mar 2025 23:00:31 +0100 Subject: [PATCH] This command mostly exists to ensure Homebrew is updated regardless of whether you invoke brew or not, which is the primary difference from the autoupdate mechanism built into brew, the latter requiring a user to explicitly run any of brew install, brew tap or brew upgrade. Source: https://github.com/DomT4/homebrew-autoupdate --- .zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.zshrc b/.zshrc index 9e1b1f1..964e8e4 100644 --- a/.zshrc +++ b/.zshrc @@ -84,6 +84,8 @@ export PATH="/opt/homebrew/opt/sqlite/bin:$PATH" if [ "$TMUX" = "" ]; then exec tmux; fi clear && udot +#brew update +export HOMEBREW_AUTO_UPDATE_SECS="86400" PATH="/Users/eragos/perl5/bin${PATH:+:${PATH}}"; export PATH; PERL5LIB="/Users/eragos/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;