Skip to content
Snippets Groups Projects
Commit dbd8667c authored by Maxime Bombar's avatar Maxime Bombar
Browse files

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

parent d7331d43
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment