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

Support Python virtualenv #9

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

Conversation

Hexcles
Copy link
Contributor

@Hexcles Hexcles commented Oct 26, 2015

When bash-powerline is used, the PS1 magic in virtualenv's activate.sh script no longer works. This PR adds the support to display the name of current virtualenv, similar to what activate.sh does without bash-powerline. It has no effects when virtualenv is not activated. And the code is structured in a way that people can easily comment it out if they don't want this feature (although I doubt there's any reason doing so).

Screenshot (".env" is the name of my virtualenv): bash-powerline-virtualenv

@panta
Copy link

panta commented Jul 10, 2017

I've made a new PR #17 against current master using both @intinig and @Hexcles ones as starting points (only for virtualenv).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants