I'm not *positive* that this is a better way, since I'm new to OS X, but I
suspect it is:
Rather than editing ~/.bash_profile, you could add a "git" entry to
/etc/paths.d and /etc/manpaths.d. That will work with any shell, not just
bash (assuming that your equivalent to .profile still sources /etc/profile
or calls /usr/libexec/path_helper directly).
According to the following post, environment.plist is deprecated:
http://littlesquare.com/2008/01/24/upgraded-to-leopard-making-use-of-etcpathsd-a
nd-path_helper/
However, it also sounds like some upgrade paths to Leopard may not update
/etc/profile corectly, so YMMV. I'm on a clean install here and can't be
of use.
Original issue reported on code.google.com by j...@jay.fm on 21 May 2008 at 4:45
Original issue reported on code.google.com by
j...@jay.fm
on 21 May 2008 at 4:45