Skip to content
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

Display custom venv prompt #86

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Tadaboody
Copy link

@Tadaboody Tadaboody commented Aug 21, 2018

This is how it looks
venv
Right now there isn't an official value to access the custom prompt so it is (poorly) extracted from the activation script.

  • This might break with virtualenv and needs to be tested.

Sarting from this commit,the git prompt will show the difference between
the local and remote repositories
Prior to this change, The virtual enviroment dir name was displayed,
even if there was a custom name given using the --prompt option

Sarting from this commit,The custom prompt name is displayed
@Tadaboody
Copy link
Author

I realise that this pull request accidentally contains #83 . I'll take care of that soon.

@Tadaboody
Copy link
Author

An issue was opened in the official cpython tracker to request better access to the custom prompt value

@Tadaboody Tadaboody changed the title [WIP] Display custom venv prompt Display custom venv prompt Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants