๐Ÿ”’ Backup for my config files
dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add jj integration

kacaii 4095c550 218ab67f

+52 -3
+52 -3
.config/starship.toml
··· 8 8 error_symbol = "[[๓ฐ„›](red) โฏ](peach)" 9 9 vimcmd_symbol = "[๓ฐ„› โฎ](subtext1)" 10 10 11 + [directory] 12 + truncation_length = 4 13 + style = "bold lavender" 14 + 15 + [cmd_duration] 16 + disabled = true 17 + 18 + [custom.jj] 19 + description = "The current jj status" 20 + detect_folders = [".jj"] 21 + style = "blue" 22 + symbol = "๏‚" 23 + 24 + [custom.jjstate] 25 + detect_folders = [".jj"] 26 + command = ''' 27 + jj log -r@ -n1 --ignore-working-copy --no-graph -T "" --stat | tail -n1 | sd "(\d+) files? changed, (\d+) insertions?\(\+\), (\d+) deletions?\(-\)" ' ${1}m ${2}+ ${3}-' | sd " 0." "" 28 + ''' 29 + 30 + [git_status] 31 + disabled = true 32 + 33 + [custom.git_status] 34 + when = "! jj --ignore-working-copy root" 35 + command = "starship module git_status" 36 + style = "" 37 + description = "Only show git_status if we're not in a jj repo" 38 + 39 + [git_commit] 40 + disabled = true 41 + 42 + [custom.git_commit] 43 + when = "! jj --ignore-working-copy root" 44 + command = "starship module git_commit" 45 + style = "" 46 + description = "Only show git_commit if we're not in a jj repo" 47 + 48 + [git_metrics] 49 + disabled = true 50 + 51 + [custom.git_metrics] 52 + when = "! jj --ignore-working-copy root" 53 + command = "starship module git_metrics" 54 + description = "Only show git_metrics if we're not in a jj repo" 55 + style = "" 56 + 11 57 [git_branch] 12 58 style = "bold mauve" 59 + disabled = true 13 60 14 - [directory] 15 - truncation_length = 4 16 - style = "bold lavender" 61 + [custom.git_branch] 62 + when = "! jj --ignore-working-copy root" 63 + command = "starship module git_branch" 64 + description = "Only show git_branch if we're not in a jj repo" 65 + style = "" 17 66 18 67 [palettes.catppuccin_mocha] 19 68 rosewater = "#f5e0dc"