Hacker News new | ask | show | jobs
by rgovostes 821 days ago
Some notes on how Apple sets up paths in /etc/zprofile: https://apple.stackexchange.com/questions/432226/homebrew-pa...

> The solution is to do path initialization in ~/.zprofile on macOS. This file is loaded after /etc/zprofile and before ~/.zshrc.

1 comments

Thanks! I prefer to set my path in ~/.zshenv so I don't have to worry about anything misbehaving in non-login shells, but this rabbithole led me to a good option to cover both: https://www.zsh.org/mla/users/2003/msg00600.html