diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml index cd4e070..80b3033 100644 --- a/starship/.config/starship.toml +++ b/starship/.config/starship.toml @@ -1,5 +1,7 @@ +# starship.toml - Fully riced modern prompt config aligned with Carbonfox theme + format = """ -$username$hostname$directory$git_branch$git_state$git_status$cmd_duration$line_break\ +$os$username$hostname$directory$git_branch$git_state$git_status$python$nodejs$rust$golang$cmd_duration$line_break\ $character""" # Wait 10 milliseconds for starship to check files under the current directory. @@ -8,75 +10,93 @@ scan_timeout = 10 # Disable the blank line at the start of the prompt add_newline = true -# # Define custom colors -# [palettes.foo] -# # Overwrite existing color -# blue = '21' -# # Define new color -# mustard = '#af8700' - -[directory] -style = "purple" -truncation_length = 3 -format = ': [$path]($style)[$read_only]($read_only_style) ' -truncation_symbol = ".../" -truncate_to_repo =true - -[character] -success_symbol = '[❯](bold green)' -# success_symbol = '[➜](bold green)' -error_symbol = '[✗](bold purple) ' -vimcmd_symbol = "[❮](green)" - -[git_branch] -symbol = '🌱 ' -# truncation_length = 4 -truncation_symbol = '' -format = '[$symbol$branch]($style) ' - -[git_status] -conflicted = '🏳' -ahead = '🏎💨' -behind = '😰' -diverged = '😵' -up_to_date = '✓' -untracked = '🤷' -stashed = '📦' -modified = '📝' -staged = '[++\($count\)](green)' -renamed = '👅' -deleted = '🗑' - -[git_state] -format = '[\($state( $progress_current of $progress_total)\)]($style) ' -cherry_pick = '[🍒 PICKING](bold red)' - -[cmd_duration] -min_time = 100 -format = 'underwent [$duration](bold yellow)' - [os] disabled = false +style = "bold white" + [username] -style_user = 'white bold' -style_root = 'black bold' -format = '[$user]($style) ' +style_user = "bold #be95ff" # Carbonfox purple +style_root = "bold red" +format = "[$user]($style)" disabled = false show_always = true [hostname] ssh_only = false -format = '@(bold blue) [$hostname](bold red) ' -trim_at = '.ciena.com' +style = "bold #33b1ff" # Carbonfox blue/cyan +format = "@[$hostname]($style) " disabled = false +[directory] +style = "bold #08bdba" # Carbonfox teal +format = "in [ $path]($style)[$read_only]($read_only_style) " +truncation_length = 3 +truncation_symbol = "…/" +truncate_to_repo = true +read_only = " 󰌾" +read_only_style = "bold red" + +[character] +success_symbol = "[❯](bold #25be6a)" # Carbonfox green +error_symbol = "[❯](bold #ee5396)" # Carbonfox pink/red +vimcmd_symbol = "[❮](bold #08bdba)" # Carbonfox teal + +[git_branch] +symbol = "🌱 " +style = "bold #ee5396" # Carbonfox pink +format = "on [$symbol$branch]($style) " +truncation_symbol = "" + +[git_status] +style = "bold #ee5396" +format = "([$all_status$ahead_behind]($style) )" +conflicted = "🏳" +ahead = "🏎💨" +behind = "😰" +diverged = "😵" +untracked = "🤷" +stashed = "📦" +modified = "📝" +staged = '[++\($count\)](green)' +renamed = "👅" +deleted = "🗑" + +[git_state] +format = "([$state( $progress_current of $progress_total)]($style) )" +cherry_pick = "[🍒 PICKING](bold red)" + +[python] +symbol = "🐍 " +style = "bold #3ddbd9" +format = "via [$symbol$version]($style) " + +[nodejs] +symbol = " " +style = "bold #25be6a" +format = "via [$symbol$version]($style) " + +[rust] +symbol = "🦀 " +style = "bold #ff9e64" +format = "via [$symbol$version]($style) " + +[golang] +symbol = " " +style = "bold #78a9ff" +format = "via [$symbol$version]($style) " + +[cmd_duration] +min_time = 100 +style = "bold #e0af68" # Carbonfox yellow/orange +format = "underwent [$duration]($style) " + [status] -style = 'bg:blue' -symbol = '🔴 ' -success_symbol = '🟢 SUCCESS' -format = '[\[$symbol$common_meaning$signal_name$maybe_int\]]($style) ' +style = "bg:blue" +symbol = "🔴 " +success_symbol = "🟢 SUCCESS" +format = '[[\[$symbol$common_meaning$signal_name$maybe_int\]]($style) ]' map_symbol = true -disabled = false +disabled = true [conda] format = "[$symbol$environment]($style) "