From 414c3305816f98454cfdfea6d4d9c23a97e96615 Mon Sep 17 00:00:00 2001 From: Alex Jurkiewicz Date: Thu, 12 Oct 2023 13:53:19 +0800 Subject: [PATCH] fixup! Fix up function return value passing --- internal/p10k.zsh | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 55cdb7bb..3e84a32a 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -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