Skip to content

Support Python virtualenv#9

Open
Hexcles wants to merge 2 commits intoriobard:masterfrom
Hexcles:virtualenv-support
Open

Support Python virtualenv#9
Hexcles wants to merge 2 commits intoriobard:masterfrom
Hexcles:virtualenv-support

Conversation

@Hexcles
Copy link
Copy Markdown
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
Copy Markdown

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