Where is the default terminal $PATH located on Mac?

后端 未结 4 1398
挽巷
挽巷 2021-01-30 00:52

I have been looking throughout the system but I cannot find it. When I do echo $PATH I get the stuff I added, plus the default path. I do not have a .profile, and I do have a .b

4条回答
  •  悲哀的现实
    2021-01-30 01:15

    If you do sudo man path_helper, it talks a bit about how it puts the path together. You might look in /etc/paths and /etc/paths.d. I did, and found what I was looking for.

提交回复
热议问题