4 ms·
osx provides /etc/paths.d/ for this too, editing dotfiles isn't necessary. This one arguably makes sense though. Because it's being used to install separately
by soneil 5y ago
osx provides /etc/paths.d/ for this too, editing dotfiles isn't necessary.
This one arguably makes sense though. Because it's being used to install separately from the OS (eg you can use brew on linux to provide a per-user package manager in $HOME), setting "my brew" system-wide might not be the sensible default. (But then, I can't remember the last time I saw a mac that was genuinely multi-user).
I guess there's no one answer, but creating /etc/paths.d/homebrew might belong on the list of options.