commit cd7aa927afda7c9ef1b5c9569b3878baf5e6f203 parent dd6dd24bd4ff58b8ab8cf53c8a3bcd041bf59256 Author: finwo <finwo@pm.me> Date: Wed, 11 Dec 2024 11:43:48 +0100 Update homebrew config in zshrc Diffstat:
| M | zsh/home/.zshrc | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/zsh/home/.zshrc b/zsh/home/.zshrc @@ -32,6 +32,15 @@ fi # Homebrew on M1 mac if [ -x "/opt/homebrew/bin/brew" ]; then eval "$(/opt/homebrew/bin/brew shellenv)" + export HOMEBREW_NO_AUTO_UPDATE=1 +fi + +# Brew-installed libs +if [ -d "/opt/homebrew/lib" ]; then + export LIBRARY_PATH="$LIBRARY_PATH:/opt/homebrew/lib" +fi +if [ -d "/opt/homebrew/opt/libiconv/lib" ]; then + export LIBRARY_PATH="$LIBRARY_PATH:/opt/homebrew/opt/libiconv/lib" fi # }}}