minor change

pull/1849/head
tiago 2021-03-17 15:39:57 +00:00
parent ea444459cf
commit 64c4c30706
1 changed files with 1 additions and 1 deletions

View File

@ -21,8 +21,8 @@ venv_prompt() {
python_venv="($PYTHON_VENV_CHAR${CONDA_DEFAULT_ENV}) "
elif [[ -n "${VIRTUAL_ENV}" ]]; then
python_venv="($PYTHON_VENV_CHAR$(basename "${VIRTUAL_ENV}")) "
[[ -n "${python_venv}" ]] && echo "${python_venv}"
fi
[[ -n "${python_venv}" ]] && echo "${python_venv}"
}
function prompt_command() {