Take the 2-minute tour ×

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?

share|improve this question

migrated from apple.stackexchange.com Mar 12 '11 at 21:16


why has this question been migrated? It's not related to programming. –  Philipp Mar 12 '11 at 21:21
I'm not sure :S –  ashgromnies Mar 13 '11 at 3:25

1 Answer 1

up vote 2 down vote accepted

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

share|improve this answer
It was in ~/.MacOSX/environment.plist –  ashgromnies Mar 12 '11 at 21:36

Your Answer


