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

Configure Feed

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

use `detect_folders` for starship jj module

kacaii 80728cfc 6d29367a

+10 -5
+10 -5
.config/starship.toml
··· 19 19 20 20 [custom.jj] 21 21 description = "The current jj status" 22 - when = "jj --ignore-working-copy root" 22 + # when = "jj --ignore-working-copy root" 23 + detect_folders = [".jj"] 23 24 symbol = "๏‚ " 24 25 style = "blue" 25 26 command = ''' ··· 47 48 disabled = true 48 49 49 50 [custom.git_status] 50 - when = "! jj --ignore-working-copy root" 51 + # when = "! jj --ignore-working-copy root" 52 + detect_folders = [".jj"] 51 53 command = "starship module git_status" 52 54 style = "" 53 55 description = "Only show git_status if we're not in a jj repo" ··· 56 58 disabled = true 57 59 58 60 [custom.git_commit] 59 - when = "! jj --ignore-working-copy root" 61 + # when = "! jj --ignore-working-copy root" 62 + detect_folders = [".jj"] 60 63 command = "starship module git_commit" 61 64 style = "" 62 65 description = "Only show git_commit if we're not in a jj repo" ··· 65 68 disabled = true 66 69 67 70 [custom.git_metrics] 68 - when = "! jj --ignore-working-copy root" 71 + # when = "! jj --ignore-working-copy root" 72 + detect_folders = [".jj"] 69 73 command = "starship module git_metrics" 70 74 description = "Only show git_metrics if we're not in a jj repo" 71 75 style = "" ··· 74 78 disabled = true 75 79 76 80 [custom.git_branch] 77 - when = "! jj --ignore-working-copy root" 81 + # when = "! jj --ignore-working-copy root" 82 + detect_folders = [".jj"] 78 83 command = "starship module git_branch" 79 84 description = "Only show git_branch if we're not in a jj repo" 80 85 style = ""