Closed yye00 closed 12 years ago
What's the exact command line you are using to source your environment?
source /home/yye00/mypy_u500/bin/activate
I redid the install, this time everything in bash. It changed my term prompt: (mypy_u500)[yye00@Dauntless ~]$
instead of just [yye00@Dauntless ~]$
Is this intentional? I am hoping that it isn't.
Regards Yaakoub El Khamra
On Wed, Nov 2, 2011 at 2:27 PM, Ole Weidner < reply@reply.github.com>wrote:
What's the exact command line you are using to source your environment?
Reply to this email directly or view it on GitHub: https://github.com/oweidner/bliss/issues/4#issuecomment-2608229
Yes. That's what virtualenv does. It has nothing to do with the script.
From http://pypi.python.org/pypi/virtualenv:
The activate script will also modify your shell prompt to indicate which environment is currently active. You can disable this behavior, which can be useful if you have your own custom prompt that already displays the active environment name. To do so, set the VIRTUAL_ENV_DISABLE_PROMPT environment variable to any non-empty value before running the activate script.
Not Bliss related.
bash: (mypy_u500)$PR_SET_CHARSET$PR_STITLE${(e)PR_TITLEBAR}\ $PR_CYAN$PR_SHIFT_IN$PR_ULCORNER$PR_BLUE$PR_HBAR$PR_SHIFT_OUT(\ $PR_GREEN%(!.%SROOT%s.%n)$PR_GREEN@%m:%l\ $PR_BLUE)$PR_SHIFT_IN$PR_HBAR$PR_CYAN$PR_HBAR${(e)PR_FILLBAR}$PR_BLUE$PR_HBAR$PR_SHIFT_OUT(\ $PR_MAGENTA%$PR_PWDLEN<...<%~%<<\ $PR_BLUE)$PR_SHIFT_IN$PR_HBAR$PR_CYAN$PR_URCORNER$PR_SHIFT_OUT\
$PR_CYAN$PR_SHIFT_IN$PR_LLCORNER$PR_BLUE$PR_HBAR$PR_SHIFT_OUT(\ %(?..$PR_LIGHT_RED%?$PR_BLUE:)\ ${(e)PR_APM}$PR_YELLOW%D{%H:%M}\ $PR_LIGHT_BLUE:%(!.$PR_RED.$PR_WHITE)%#$PR_BLUE)$PR_SHIFT_IN$PR_HBAR$PR_SHIFT_OUT\ $PR_CYAN$PR_SHIFT_IN$PR_HBAR$PR_SHIFT_OUT\ $PR_NO_COLOUR : bad subst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