开发者

OS X: Where do environment variables get loaded from?

开发者 https://www.devze.com 2023-02-16 06:00 出处:网络
I have an env var that\'s being set(PYTHONPATH) whenever I open a new Bash shell, but I don\'t see any 开发者_如何转开发reference to the variable in ~/* or /etc/*. Where could this variable be set fro

I have an env var that's being set(PYTHONPATH) whenever I open a new Bash shell, but I don't see any 开发者_如何转开发reference to the variable in ~/* or /etc/*. Where could this variable be set from?


It could be in ~/.bashrc, ~/.bash_profile, or ~/.MacOSX/environment.plist. * doesn't match files starting with . (hidden files).

0

精彩评论

暂无评论...
验证码 换一张
取 消