mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-15 14:34:05 +00:00
fish_jj_prompt: Return false if nothing was generated
That means we go on to try git etc
This commit is contained in:
parent
b6c249be0c
commit
723943fd1f
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ function fish_jj_prompt
|
||||||
)
|
)
|
||||||
'
|
'
|
||||||
)"
|
)"
|
||||||
if test -n $info
|
or return 1
|
||||||
|
if test -n "$info"
|
||||||
printf ' %s' $info
|
printf ' %s' $info
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue