1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2026-06-05 06:23:31 +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:
Martin André
2026-04-24 08:34:49 +02:00
committed by Indrajit Raychaudhuri
parent 73ae7f1128
commit cff2d01871
+1 -1
View File
@@ -105,7 +105,7 @@ if (( $+VIRTUALENVWRAPPER_VIRTUALENV || $+commands[virtualenv] )) \
# 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
# 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
# look for plugins of interest. Scanning shell '$path' isn't enough as they