From c23f31195643b54db494a2e7bb614a7203e6a0e4 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 11 Mar 2021 16:53:58 +0100 Subject: [PATCH] pythonista prompt: Remove single-argument test --- share/tools/web_config/sample_prompts/pythonista.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/tools/web_config/sample_prompts/pythonista.fish b/share/tools/web_config/sample_prompts/pythonista.fish index f40b7e7d9..401f1d04f 100644 --- a/share/tools/web_config/sample_prompts/pythonista.fish +++ b/share/tools/web_config/sample_prompts/pythonista.fish @@ -22,7 +22,7 @@ function fish_prompt # Line 2 echo - if test $VIRTUAL_ENV + if test -n "$VIRTUAL_ENV" printf "(%s) " (set_color blue)(basename $VIRTUAL_ENV)(set_color normal) end printf '↪ '