main
 1"$schema" = 'https://starship.rs/config-schema.json'
 2
 3format = """
 4$username\
 5$hostname\
 6[: ](white)\
 7$directory\
 8$line_break\
 9$character
10"""
11
12right_format = """
13$nix_shell\
14$vcs\
15$time\
16$line_break\
17[ <](white)
18"""
19
20add_newline = false
21
22[profiles]
23transient = "$username$hostname$character"
24
25[username]
26disabled = false
27show_always = true
28style_user = "green bold"
29style_root = "red bold"
30format = '[$user]($style)'
31
32[hostname]
33disabled = false
34ssh_only = false
35style = "yellow bold"
36format = '[@$hostname]($style)'
37
38[directory]
39disabled = false
40style = "blue"
41read_only_style = "red"
42read_only = "[ro]"
43format = '[$path]($style)[$read_only]($read_only_style)'
44
45[character]
46disabled = false
47success_symbol = "[\\$](bold green)"
48error_symbol = "[\\$](bold red)"
49format = "$symbol "
50
51[nix_shell]
52disabled = false
53heuristic = true
54symbol = "nix"
55format = "[$symbol\\[$name\\]]($style) "
56
57[vcs]
58disabled = false
59order = ["jj", "git"]
60jj_modules = "$jj_bookmark$jj_change$jj_metrics$jj_status"
61git_modules = "$git_branch$git_commit$git_state$git_metrics$git_status"
62
63[git_branch]
64format = "[$symbol$branch(:$remote_branch)]($style) "
65
66[jj_bookmark]
67format = "[$symbol$bookmark(@$remote)$diverged( \\(+$overflow_count others\\))]($style) "
68
69[time]
70disabled = false
71format = "[$time]($style)"
72time_format = "%R"
73utc_time_offset = "local"
74style = "dimmed white"