mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
fish_jj_prompt: Return false if nothing was generated
That means we go on to try git etc
This commit is contained in:
@@ -15,7 +15,8 @@ function fish_jj_prompt
|
||||
)
|
||||
'
|
||||
)"
|
||||
if test -n $info
|
||||
or return 1
|
||||
if test -n "$info"
|
||||
printf ' %s' $info
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user