I reinstalled mountain lion recently and had to reset my git path. Everything was working fine until I realised I had to do it for every project so I tried to change the default system path by
sudo bash -c '( echo /usr/local/git/bin > /etc/paths.d/git )'
Apparently I should have left it alone as I don't really know what I'm doing. My command prompt is now
unknown-00-26-bb-0e-a8-1f:~ mantismamita$ (mantismamita is my username so that part is normal) and I have lost access to my aliases located in
.bash_profile I'm also back to square one with my original problem as my git path is no longer correct. I should mention that I'm at a different IP address as I'm on holiday so that may have influenced the prompt.
I would be eternally grateful if someone could help me get out of this muddle.