diff --git a/private_dot_config/starship.toml b/private_dot_config/starship.toml index 22bfb63..560e287 100644 --- a/private_dot_config/starship.toml +++ b/private_dot_config/starship.toml @@ -7,10 +7,12 @@ $container\ $os\ [](fg:#394260 bg:#a3aed2)\ $username\ +$shell\ [](fg:#a3aed2 bg:#769ff0)\ $directory\ [](fg:#769ff0 bg:#394260)\ $git_branch\ +$git_commit\ $git_status\ $direnv\ $mise\ @@ -64,15 +66,6 @@ Pop = "" "Téléchargements" = " " "Developer" = "󰲋 " -[git_branch] -symbol = "" -style = "bg:#394260" -format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)' - -[git_status] -style = "bg:#394260" -format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)' - [nodejs] symbol = "" style = "bg:#212736" @@ -115,9 +108,19 @@ disabled = false [username] show_always = true style_user = "bg:#a3aed2 fg:#212736" -style_root = "bg:#a3aed2 fg:red bold" +style_root = "bg:#a3aed2 fg:#990000 bold" format = '[  $user ]($style)' +[shell] +bash_indicator = ' ' +zsh_indicator = ' ' +fish_indicator = '󰈺 ' +powershell_indicator = '_' +unknown_indicator = 'unknown shell' +style = "bg:#a3aed2 fg:#212736" +format = '[ $indicator]($style)' +disabled = false + [sudo] disabled = false @@ -127,6 +130,33 @@ format = "[  $path ]($style)" truncation_length = 3 truncation_symbol = "…/" +[git_branch] +symbol = "" +style = "fg:#769ff0 bg:#394260" +format = '[ $symbol $branch ]($style)' + +[git_commit] +tag_disabled = false +tag_symbol = '  ' +only_detached = true +style = "fg:#769ff0 bg:#394260" +format = '[ $hash $tag ]($style)' + +[git_status] +style = "fg:#769ff0 bg:#394260" +format = '[$all_status$ahead_behind]($style)' +ahead = '⇡${count}' +behind = '⇣${count}' +diverged = '⇕⇡${ahead_count}⇣${behind_count}' +up_to_date = '' +modified = '[$count󰷉 ](fg:yellow bg:#394260)' +staged = '[$count ](fg:green bg:#394260)' +deleted = '[$count ](fg:red bg:#394260)' +renamed = '[$count󱀱 ](fg:blue bg:#394260)' +untracked = '[$count󱀶 ](fg:gray bg:#394260)' +conflicted = '[$count󱪘 ](fg:red bg:#394260)' +stashed = '$count📦' # 󱁺  + [direnv] disabled = false