Code Monkey home page Code Monkey logo

Comments (4)

vbabiy avatar vbabiy commented on May 18, 2024 4

Joseph: Looks like it. I spent the time to grok the source and it's in there:

if [ -z "$VIRTUAL_ENV_DISABLE_PROMPT" ] ; then

So, it will only muck around with your $PS1 if $VIRTUAL_ENV_DISABLE_PROMPT is
not set (or if it is set to an empty string). Thusly, export
VIRTUAL_ENV_DISABLE_PROMPT=1 should do the trick.


Original Comment By: Anonymous

from virtualenv.

vbabiy avatar vbabiy commented on May 18, 2024

I created a patch that implements this:

https://bitbucket.org/dcreager/virtualenv/changeset/bcc84d4f18f9/


Original Comment By: Douglas Creager

from virtualenv.

vbabiy avatar vbabiy commented on May 18, 2024
  • Changed status from new to resolved.

Original Comment By: Jannis Leidel

from virtualenv.

vbabiy avatar vbabiy commented on May 18, 2024

If this issue was resolved, how does one get this functionality in virtualenv?
Using VIRTUAL_ENV_DISABLE_PROMPT ?


Original Comment By: Joseph Turian

from virtualenv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.