### # Starship configuration ### ### # Configures the starship schema ### "$schema" = 'https://starship.rs/config-schema.json' ### # Configures the add newline ### add_newline = true ### # Configures the format ### format = """ [╭](fg:current_line)\ $directory\ $kubernetes\ $fossil_branch\ $git_branch\ $git_commit\ $git_status\ $hg_branch\ $vcsh\ $fill\ $package\ $golang\ $helm\ $terraform\ ${custom.terragrunt}\ $nim\ $nodejs\ $python\ $red\ $fill\ $time\ $username\ $line_break\ [╰─](fg:current_line)\ $character """ ### # Configures the palette ### #palette = 'rainbow' palette = 'challengerdeep' ### # Configures the rainbow palette ### [palettes.rainbow] background = '#282A36' box = '#44475A' color1 = '#008080' color2 = '#3CB44B' color3 = '#FFE119' color4 = '#0082C8' color5 = '#F58231' color6 = '#911EB4' color7 = '#F032E6' current_line = '#44475A' error = '#E6194B' foreground = '#F8F8F2' primary = '#1E1F29' success = '#3CB44B' ### # Configures the challengerdeep palette # https://github.com/challenger-deep-theme/themes # To activate: change `palette = 'rainbow'` above to `palette = 'challengerdeep'`. ### [palettes.challengerdeep] background = '#1b182c' # palette background box = '#3b3470' # derived mid-tone (no native selection color in palette) color1 = '#63f2f1' # dark_cyan (unused by current format, present for future modules) color2 = '#62d196' # dark_green (directory) color3 = '#ffe9aa' # yellow (VCS: git/fossil/hg/vcsh) color4 = '#65b2ff' # dark_blue (languages, kubernetes, package) color5 = '#ffb378' # dark_yellow (shell) color6 = '#906cff' # dark_magenta (time) color7 = '#c991e1' # magenta (username) current_line = '#3b3470' # same derived mid-tone as box error = '#ff5458' # dark_red foreground = '#cbe3e7' # palette foreground primary = '#100e23' # palette black (icon-block fg on bright accent bg) success = '#62d196' # dark_green ### # Configures the bun module ### [bun] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '' ### # Configures the c module ### [c] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '' ### # Configures the character module ### [character] error_symbol = '[χ](bold fg:error)' format = '$symbol ' success_symbol = '[\$](bold fg:success)' ### # Configures the cmake module ### [cmake] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '' ### # Configures the cobol module ### [cobol] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = 'COBOL' ### # Configures the crystal module ### [crystal] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '' ### # Configures the daml module ### [daml] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = 'DAML' ### # Configures the dart module ### [dart] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '' ### # Configures the deno module ### [deno] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '' ### # Configures the directory module ### [directory] format = '[─](fg:current_line)[ 󰉋 ](fg:primary bg:color2)[ $read_only$truncation_symbol$path ](fg:foreground bg:box)' home_symbol = "󱂵 ~/" read_only = '󰌾 ' read_only_style = '' truncation_length = 2 truncation_symbol = '󰝰 ' ### # Configures the kubernetes module ### [kubernetes] disabled = false symbol = '󱃾' style = 'fg:foreground bg:box' format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)[ $context]($style)([/](fg:#ff50d0 bg:box)[$namespace ](fg:#50ff7f bg:box))' [[kubernetes.contexts]] context_pattern = 'transporter\.ic-ops\.com-(?P[\w-]+)' context_alias = "$var_cluster" style = "fg:error bg:box" ### # Configures the fill module ### [fill] style = 'fg:current_line' symbol = '─' ### # Configures the fossil branch module ### [fossil_branch] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color3)[ $branch ](fg:foreground bg:box)' symbol = '󰘬' ### # Configures the git branch module ### [git_branch] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color3)[ $branch ](fg:foreground bg:box)' symbol = '󰘬' ### # Configures the git commit module ### [git_commit] commit_hash_length = 4 format = "([─](fg:current_line)[ 󰓹 ](fg:primary bg:color3)[ $tag ](fg:foreground bg:box))([─](fg:current_line)[ 󰜘 ](fg:primary bg:color3)[ $hash ](fg:foreground bg:box))" only_detached = false tag_disabled = false tag_symbol = '' ### # Configures the git status module ### [git_status] format = '([─](fg:current_line)[ 󱓎 ](fg:primary bg:color3)[ $all_status$ahead_behind ](fg:foreground bg:box))' ### # Configures the golang module ### [golang] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '' ### # Configures the helm module ### [helm] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '' ### # Configures the hg branch module ### [hg_branch] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color3)[ $branch(:$topic) ](fg:foreground bg:box)' symbol = '󰘬' ### # Configures the terraform module ### [terraform] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '󱁢' ### # Configures the terragrunt module (custom, no native starship support) ### [custom.terragrunt] command = "terragrunt --version 2>/dev/null | grep -oE 'v[0-9]+\\.[0-9]+\\.[0-9]+'" when = "test -f terragrunt.hcl" format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $output ](fg:foreground bg:box))' symbol = 'TG' ### # Configures the nodejs module ### [nodejs] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '' ### # Configures the php module ### [php] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '' ### # Configures the python module ### [python] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '' ### # Configures the red module ### [red] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = 'RED' ### # Configures the rust module ### [rust] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = '' ### # Configures the package module ### [package] format = '[─](fg:current_line)[ 󰏖 ](fg:primary bg:color4)[ $version ](fg:foreground bg:box)' ### # Configures the shell module ### [shell] disabled = false format = '[─](fg:current_line)[ 󰆍 ](fg:primary bg:color5)[ $indicator ](fg:foreground bg:box)' unknown_indicator = 'shell' ### # Configures the time module ### [time] disabled = false format = '[─](fg:current_line)[ 󰥔 ](fg:primary bg:color6)[ $time ](fg:foreground bg:box)' time_format = '%H:%M' ### # Configures the username module ### [username] format = '[─](fg:current_line)[ 󰀄 ](fg:primary bg:color7)[ $user ](fg:foreground bg:box) ' show_always = true ### # Configures the vcsh module ### [vcsh] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color3)[ $repo ](fg:foreground bg:box)' symbol = '󰘬' ### # Configures the vlang module ### [vlang] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = 'V' ### # Configures the zig module ### [zig] format = '[─](fg:current_line)[ $symbol ](fg:primary bg:color4)([ $version ](fg:foreground bg:box))' symbol = 'ZIG'