标签: bash macos environment-variables
在我的OS X终端上打开bash后,已经设置了一个环境变量PYTHONPATH=/usr/local/lib/python2.7/site-packages,但这并非来自任何~/.bashrc或~/.bash_profile。我想知道谁(哪个脚本)设置了该环境变量。有没有好办法检查?
PYTHONPATH=/usr/local/lib/python2.7/site-packages
~/.bashrc
~/.bash_profile