What is the proper way to modify environment variables like PATH in OS X?
I've looked on Google a little bit and found three different files to edit:
- /etc/paths
- ~/.profile
- ~/.tcshrc
I don't even have some of these files, and I'm pretty sure that .tcshrc is wrong, since OS X uses bash now. Where are these variables, especially PATH, defined?
I'm running OS X v10.5 (Leopard).
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…