From dc184718739d0fb3972a8d9540b13ea3410b1843 Mon Sep 17 00:00:00 2001 From: T31M Date: Wed, 24 Jun 2020 21:49:33 +0200 Subject: [PATCH] Bugfix fish_prompt --- fish/theme-t31m/t31m_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish/theme-t31m/t31m_prompt.fish b/fish/theme-t31m/t31m_prompt.fish index 3f0f027..1f624ed 100644 --- a/fish/theme-t31m/t31m_prompt.fish +++ b/fish/theme-t31m/t31m_prompt.fish @@ -20,7 +20,7 @@ function prompt::pyenv if set -q VIRTUAL_ENV set venv (echo "$VIRTUAL_ENV" | grep -Eo '[^/]+/?$' | cut -d / -f1) - echo -n -s (printf '%s' \U1F40D)(yellow)"["(cyan)"$venv"(off)"@$python_version"(yellow)"]"(off) + echo -n -s (printf '%s' \U1F40D)(yellow)"["(cyan)"$venv"(yellow)"@"(off)"$python_version"(yellow)"]"(off) else if test -n "$PYENV_VERSION"; and [ "$PYENV_VERSION" != "$python_version" ] # echo -n -s (yellow)(printf '%s' \U1F40D)"["(cyan)(pyenv version-name | sed 's/:.*$//' )(off)"@$python_version"(yellow)"]"(off) echo -n -s (yellow)(printf '%s' \U1F40D)"["(cyan)(pyenv version-name )(off)"@$python_version"(yellow)"]"(off)