mirror of
https://github.com/dcarrillo/prezto.git
synced 2026-06-05 08:43:30 +00:00
python: fix venv display in pure
The magic value changed from 12 to 20 in pure v1.27.0 via https://github.com/sindresorhus/pure/commit/987ae71a976226d2ccf01dd4df49483ef683d73awhich broke displaying the python venv.
This commit is contained in:
committed by
Indrajit Raychaudhuri
parent
73ae7f1128
commit
cff2d01871
@@ -105,7 +105,7 @@ if (( $+VIRTUALENVWRAPPER_VIRTUALENV || $+commands[virtualenv] )) \
|
|||||||
# pure prompt because there's some additional logic in that prompt which tries
|
# pure prompt because there's some additional logic in that prompt which tries
|
||||||
# to figure out if a user set this variable and disable the python portion of
|
# to figure out if a user set this variable and disable the python portion of
|
||||||
# that prompt based on it which is the exact opposite of what we want to do.
|
# that prompt based on it which is the exact opposite of what we want to do.
|
||||||
export VIRTUAL_ENV_DISABLE_PROMPT=12
|
export VIRTUAL_ENV_DISABLE_PROMPT=20
|
||||||
|
|
||||||
# Create a sorted array of available virtualenv related 'pyenv' commands to
|
# Create a sorted array of available virtualenv related 'pyenv' commands to
|
||||||
# look for plugins of interest. Scanning shell '$path' isn't enough as they
|
# look for plugins of interest. Scanning shell '$path' isn't enough as they
|
||||||
|
|||||||
Reference in New Issue
Block a user