1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-24 05:00:07 +00:00

fixup! Fix up function return value passing

This commit is contained in:
Alex Jurkiewicz 2023-10-12 13:53:19 +08:00
parent c10e62ad29
commit 414c330581

View file

@ -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