From 489ead1c25a61d0b78b14e9d5e2cd7dab61ebf3a Mon Sep 17 00:00:00 2001 From: Jacob Olson Date: Wed, 6 Mar 2024 14:07:52 -0700 Subject: [PATCH] mend --- themes/af-magic.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/af-magic.zsh-theme b/themes/af-magic.zsh-theme index 5c883a3e6..73204afa3 100644 --- a/themes/af-magic.zsh-theme +++ b/themes/af-magic.zsh-theme @@ -8,7 +8,7 @@ function afmagic_dashes { # check either virtualenv or condaenv variables local python_env_dir="${VIRTUAL_ENV:-$CONDA_DEFAULT_ENV}" local python_env="${python_env_dir##*/}" - + # if there is a python virtual environment and it is displayed in # the prompt, account for it when returning the number of dashes if [[ -n "$python_env" && "$PS1" = *\(${python_env}\)* ]]; then