Possible Duplicate:
How do I set PATH and other environment variables?
I recently installed git 1.7.4.4 via the installer from here http://code.google.com/p/git-osx-installer/ (not via homebrew or stuff...) and found that it added itself to my $PATH.
I wonder, where did it do that? I checked my ~/.bashrc and also /etc/bashrc and /etc/profile, nowhere is a line like PATH=$PATH:/usr/local/git/bin
Out of curiosity, where did the git-installer put the change to the path??
/etc/profile
, which then sources/etc/profile.d/*.sh
./etc/paths.d
directory, there is a file namedgit
containing the path to the git binary.