This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dan McCombs
Recipients Dan McCombs
Date 2016-02-12.13:08:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455282539.52.0.733684318611.issue26348@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, the activate.fish VENV script sets fish's prompt to be prepended with a literal "__VENV_PROMPT__" rather than the contents of the $__VENV_PROMPT__ variable as intended.

The attached patch simply adds the missing "$" to the variable in the conditional test and it's usage, so it's only being set if the variable is non-zero, rather than testing if the string "__VENV_PROMPT__" is non-zero like it is doing right now.

The results in the prompt being correctly prepended by "(my_actual_venv_name)".
History
Date User Action Args
2016-02-12 13:08:59Dan McCombssetrecipients: + Dan McCombs
2016-02-12 13:08:59Dan McCombssetmessageid: <1455282539.52.0.733684318611.issue26348@psf.upfronthosting.co.za>
2016-02-12 13:08:59Dan McCombslinkissue26348 messages
2016-02-12 13:08:59Dan McCombscreate