1 files changed,
26 insertions(+),
0 deletions(-)
M
config/starship.toml
··· 29 29 [directory] 30 30 truncation_length = 5 31 31 truncate_to_repo = false 32 + 33 +[custom.jj] 34 +ignore_timeout = true 35 +description = "The current jj status" 36 +when = "jj root --ignore-working-copy" 37 +symbol = "[jj](reset) " 38 +command = ''' 39 +jj log --revisions @ --no-graph --ignore-working-copy --color always --limit 1 --template ' 40 + separate(" ", 41 + change_id.shortest(4), 42 + bookmarks, 43 + concat( 44 + if(conflict, "💥"), 45 + if(divergent, "🚧"), 46 + if(hidden, "👻"), 47 + if(immutable, "🔒"), 48 + ), 49 + raw_escape_sequence("\x1b[1;32m") ++ if(empty, "(empty)"), 50 + raw_escape_sequence("\x1b[1;32m") ++ coalesce( 51 + truncate_end(29, description.first_line(), "…"), 52 + "(no description set)", 53 + ) ++ raw_escape_sequence("\x1b[0m"), 54 + ) 55 +' 56 +''' 57 +