1
mirror of https://github.com/wlcx/home.git synced 2026-03-27 22:53:13 +00:00

macs: only source brew if exists

This commit is contained in:
Sam W 2026-03-15 16:58:39 +00:00
parent ad60d86c53
commit 746b05f91c

View File

@ -17,5 +17,5 @@
"~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh"; "~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
}; };
programs.zsh.sessionVariables.SSH_AUTH_SOCK = "$HOME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh"; programs.zsh.sessionVariables.SSH_AUTH_SOCK = "$HOME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
programs.zsh.initContent = "eval $(/opt/homebrew/bin/brew shellenv)"; programs.zsh.initContent = "[ -e /opt/homebrew/bin/brew ] && eval $(/opt/homebrew/bin/brew shellenv)";
} }