How to display the name of the current Virtualenv?
I'm using virtualenv, virtualenvwrapper, zsh, oh-my-zsh, terminator, on Crunchbang.
I'm trying to display the name of the current virtualenv like so workon example (example)... I've tried many solutions none seems to work, here's my .zshrc file, I know it's no big deal to fix it but I can't find the right solution. It has been a long time since the last time I used Linux for Django development, I forgot what I used to do. Right now, I see username@crunchbang, I can't tell which virtualenv I'm using. here's my activate file I used set -x, this is the output of source activate and this is the output of workon test-env |
Code:
plugins=(git colorize debian django virtualenv virtualenvwapper) |
i have oh-my-zsh installed
|
I know. I've edited my reply.
|
removed all the plugin, didn't fix it, may i see your .zshrc file? it may be a configuration error
|
Quote:
Here's by .zshrc (comments removed for brevity): Code:
ZSH=$HOME/.oh-my-zsh |
how is virtualenv working for you, don't you have to add
Code:
export WORKON_HOME=~/.virtualenvs |
I only have this:
Code:
. /usr/bin/virtualenvwrapper.sh |
and does
workon somevirtualenv work for you? |
Of course.
|
worked, im speechless but i cant change the themes, well i don't really care about themes, at the very least i got it working and i know that it may have to do with the themes
|
All times are GMT -5. The time now is 01:05 AM. |