Somehow when I first setup virtualenv and virtualenvwrapper, it placed my virtualenvs directory at
~/virtualenvs instead of the default
~/.virtualenvs. The difference in OSX is a matter of one being hidden in Finder and the other not. Since I tend to be pretty anal about maintaining a nice and tidy file structure, I felt compelled to figure out how to change it without messing everything up. Here’s the process for moving/renaming your virtualenvs directory:
Move the actual directory using your shell:
mv virtualenvs/ .virtualenvs/
Edit your $WORKON_HOME path in your shell startup file. For me, this file is located at
~/.bash_profile. I simply changed
export WORKON_HOME=$HOME/virtualenvs into
Afterwards, you will need to restart your shell window so that it recognizes your changes.
Run the mkvirtualenv command again for each of your virtual environments. This will recreate the scripts used by virtualenvwrapper to reflect the new location.