mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
pythonista prompt: Remove single-argument test
This commit is contained in:
parent
9ab77c7ddc
commit
c23f311956
|
@ -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 '↪ '
|
||||
|
|
Loading…
Reference in New Issue
Block a user