-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git-prompt blocks the use of virtualenv's prompt decoration #2
Comments
What would be the expected behaviour? PS: If this disturbs you in any way, you can disable virtualenv's prompt by setting VIRTUAL_ENV_DISABLE_PROMPT. (http://virtualenv.openplans.org/#activate-script) |
I would expect the virtualenv to prefix the prompt; probably something like this:
|
@lvv I propose to only set PS1 when it has not been changed manually (check in prompt_command_function()). unset'ting it enables git-prompt again. What do you think? |
Coreranger's fork have commits to support virtualenv. I am about to merge it. But I can't test it. Can someone try it if it works? |
I can confirm that it works as expected (quite nice). |
Ian Bicking's virtualenv project amends the prompt when you select a virtualenv. git-prompt erases or blocks this content:
old::
git-prompt::
The text was updated successfully, but these errors were encountered: