From 8822edc704fd509fd0a49a7ec5dd6f24b2ecb2f1 Mon Sep 17 00:00:00 2001 From: Pablu Date: Sat, 8 Aug 2026 11:36:45 +0200 Subject: [PATCH] make brew on private mac profile usable --- dot_zshrc.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 302201d..1a3dee4 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -86,6 +86,8 @@ source <(kubectl completion zsh) source <(kubebuilder completion zsh) source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +alias brew='sudo -Hu zam /opt/homebrew/bin/brew' + {{ else if eq .chezmoi.hostname "ubuntu" }} eval "$(direnv hook zsh)"