Commit dbd8667c authored by Maxime Bombar's avatar Maxime Bombar

Rend explicite la possibilité de désactiver l'affichage du venv dans le prompt

parent d7331d43
......@@ -292,6 +292,13 @@ precmd () {
fi
# Enable python venv detection
# Uncomment this line to disable prompting the venv
# VIRTUAL_ENV_DISABLE_PROMPT=1
# Uncomment this line to only disable the python directory name
# VIRTUAL_ENV_DISABLE_DIRECTORY=1
if [ -n "${VIRTUAL_ENV:-}" ]; then
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ]; then
if [ -z "${VIRTUAL_ENV_DISABLE_DIRECTORY:-}" ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment