minor change

This commit is contained in:
tiago
2021-03-17 15:39:57 +00:00
parent ea444459cf
commit 64c4c30706

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() {