14

I've recently installed virtualenv + virtualenvwrapper on Linux Mint 10 LXDE. For convenience I've added the standard WORKON_HOME settings to my ~/.profile

export WORKON_HOME=$HOME/Envs
source /usr/local/bin/virtualenvwrapper.sh

Then I've noticed that workon does not work after login, which means the above commands were not run. If I source ~/.profile then it works. I'm really not sure what could cause .profile not being run? I've checked and I don't have .bash_profile or .bashrc.

Raystafarian
  • 21,963
  • 12
  • 64
  • 91
Botond Béres
  • 275
  • 2
  • 3
  • 9

1 Answers1

14

~/.profile is only sourced for interactive login shells. If you're starting a shell that's interactive but it's not a login shell, then ~/.bashrc is sourced.