What is the proper way to modify environment variables like PATH in OS X? 在OS X中修改环境变量(如PATH)的正确方法是什么? bash
I've looked on Google a little bit and found three different files to edit: 我稍微看了一下Google,发现须要编辑三个不一样的文件: spa
I don't even have some of these files, and I'm pretty sure that .tcshrc is wrong, since OS X uses bash now. 我什至没有这些文件,并且我很肯定.tcshrc是错误的,由于OS X如今使用bash。 Where are these variables, especially PATH, defined? 这些变量(尤为是PATH)在哪里定义? .net
I'm running OS X v10.5 (Leopard). 我正在运行OS X v10.5 (Leopard)。 three