pythonista prompt: Remove single-argument test

This commit is contained in:
Fabian Homborg 2021-03-11 16:53:58 +01:00
parent 9ab77c7ddc
commit c23f311956

View File

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