feat(starship): Improve prompt
This commit is contained in:
@@ -7,10 +7,12 @@ $container\
|
|||||||
$os\
|
$os\
|
||||||
[](fg:#394260 bg:#a3aed2)\
|
[](fg:#394260 bg:#a3aed2)\
|
||||||
$username\
|
$username\
|
||||||
|
$shell\
|
||||||
[](fg:#a3aed2 bg:#769ff0)\
|
[](fg:#a3aed2 bg:#769ff0)\
|
||||||
$directory\
|
$directory\
|
||||||
[](fg:#769ff0 bg:#394260)\
|
[](fg:#769ff0 bg:#394260)\
|
||||||
$git_branch\
|
$git_branch\
|
||||||
|
$git_commit\
|
||||||
$git_status\
|
$git_status\
|
||||||
$direnv\
|
$direnv\
|
||||||
$mise\
|
$mise\
|
||||||
@@ -64,15 +66,6 @@ Pop = ""
|
|||||||
"Téléchargements" = " "
|
"Téléchargements" = " "
|
||||||
"Developer" = " "
|
"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]
|
[nodejs]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:#212736"
|
style = "bg:#212736"
|
||||||
@@ -115,9 +108,19 @@ disabled = false
|
|||||||
[username]
|
[username]
|
||||||
show_always = true
|
show_always = true
|
||||||
style_user = "bg:#a3aed2 fg:#212736"
|
style_user = "bg:#a3aed2 fg:#212736"
|
||||||
style_root = "bg:#a3aed2 fg:red bold"
|
style_root = "bg:#a3aed2 fg:#990000 bold"
|
||||||
format = '[ $user ]($style)'
|
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]
|
[sudo]
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
@@ -127,6 +130,33 @@ format = "[ $path ]($style)"
|
|||||||
truncation_length = 3
|
truncation_length = 3
|
||||||
truncation_symbol = "…/"
|
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]
|
[direnv]
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user