mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
Add news items for new prompt-controlling env vars
This commit is contained in:
parent
4b7944ceed
commit
85783ed2db
2 changed files with 30 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
**Changed:**
|
||||
|
||||
* ``env_name`` prompt field now looks up the pre- and post-fix characters,
|
||||
rather than relying on hard-coded values/
|
||||
rather than relying on hard-coded values.
|
||||
|
||||
**Deprecated:**
|
||||
|
||||
|
|
29
news/prompt-env-vars.rst
Normal file
29
news/prompt-env-vars.rst
Normal file
|
@ -0,0 +1,29 @@
|
|||
**Added:**
|
||||
|
||||
* Rendering of ``{env_name}`` in ``$PROMPT`` is now suppressed if
|
||||
the ``$VIRTUAL_ENV_DISABLE_PROMPT`` environment variable is
|
||||
defined and truthy.
|
||||
* Rendering of ``{env_name}`` in ``$PROMPT`` is now overridden by
|
||||
the value of ``str($VIRTUAL_ENV_PROMPT)`` if that environment variable
|
||||
is defined and ``not None``. ``$VIRTUAL_ENV_DISABLE_PROMPT`` takes precedence
|
||||
over ``$VIRTUAL_ENV_PROMPT``.
|
||||
|
||||
**Changed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Deprecated:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Removed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Fixed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Security:**
|
||||
|
||||
* <news item>
|
Loading…
Add table
Reference in a new issue