From c60b3f17ceacb4920c1aa306dd895ba36810d11b Mon Sep 17 00:00:00 2001 From: Andrejus Date: Fri, 20 Jun 2025 11:54:49 +0300 Subject: [PATCH] fix: brew env --- files/home/.profile | 2 +- script/install.d/02-brew.sh | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/files/home/.profile b/files/home/.profile index 7f33ada..ed2a5e8 100644 --- a/files/home/.profile +++ b/files/home/.profile @@ -69,7 +69,7 @@ fi # Load homebrew # ----------------------------------------------------------------------------- _dots_load_brew() { - export HOMEBREW_NO_ANALYTICS=0 + export HOMEBREW_NO_ANALYTICS=1 [ -x "/opt/homebrew/bin/brew" ] && eval "$(/opt/homebrew/bin/brew shellenv)" } _dots_load_brew diff --git a/script/install.d/02-brew.sh b/script/install.d/02-brew.sh index e6875e3..61cd294 100644 --- a/script/install.d/02-brew.sh +++ b/script/install.d/02-brew.sh @@ -23,13 +23,6 @@ if [[ "$OSTYPE" == "darwin"* ]]; then echo "Homebrew is already installed." fi brew --version - - unset NONINTERACTIVE \ - HOMEBREW_NO_ANALYTICS \ - HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK \ - HOMEBREW_NO_ENV_HINTS \ - HOMEBREW_NO_AUTO_UPDATE \ - HOMEBREW_NO_INSTALL_CLEANUP else echo -e "${YELLOW}Skipping: Not macOS${NC}" fi