export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin to get your commands back.
If you open up a new terminal, does it start with
/usr/local/git/bin? If so, it sounds like your git installation screwed up your paths in
/etc/paths, or your
Mine has (
/etc/profile should contain the following somewhere:
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
Do these files contain similar lines on your system? If not, we'll need to see what they do contain and then properly merge them with what should be in there. If they check out, we'll look into your
/etc/bashrc or local profile configurations.