···22 # If this is a jj repo, just note that it is one. We don't have branches
33 # in the same way as other VCSes, but it's nice to know where's jj-enabled.
44 command -qs jj; and command jj root --ignore-working-copy &>/dev/null
55- if test $status -ne 1
55+ if test $status -eq 0
66 echo ' [jj]'
77 end
88end