fish_jj_prompt: Return false if nothing was generated

That means we go on to try git etc
This commit is contained in:
Fabian Boehm 2025-01-13 14:54:00 +01:00
parent b6c249be0c
commit 723943fd1f

View file

@ -15,7 +15,8 @@ function fish_jj_prompt
)
'
)"
if test -n $info
or return 1
if test -n "$info"
printf ' %s' $info
end
end