fixup! Fix up function return value passing

pull/2450/head
Alex Jurkiewicz 1 year ago
parent c10e62ad29
commit 414c330581

@ -4282,7 +4282,6 @@ function instant_prompt_chezmoi_shell() {
# More information on virtualenv (Python):
# https://virtualenv.pypa.io/en/latest/
_virtualenv_VIRTUAL_ENV() {
local n
# VIRTUAL_ENV is the on-disk path, VIRTUAL_ENV_PROMPT is `(name_of_virtualenv) `.
# Use custom name if it was set (python -m venv -p "foo" .venv)
if [[ $VIRTUAL_ENV_PROMPT == '('?*') ' && $VIRTUAL_ENV_PROMPT != "($n) " ]]; then

Loading…
Cancel
Save