Update starship config
This commit is contained in:
parent
f0d5631092
commit
a7b1f26a68
1 changed files with 23 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
# Get editor completions based on the config schema
|
# Get editor completions based on the config schema
|
||||||
"$schema" = 'https://starship.rs/config-schema.json'
|
"$schema" = 'https://starship.rs/config-schema.json'
|
||||||
|
|
||||||
format = "$directory$git_branch$git_status$character"
|
format = "$git_branch$git_status$package$dart$deno$dotnet$nodejs$python$rust$line_break$directory$character"
|
||||||
right_format = "$cmd_duration$status"
|
right_format = "$cmd_duration$status$container"
|
||||||
add_newline = true
|
add_newline = true
|
||||||
|
|
||||||
[character]
|
[character]
|
||||||
|
|
@ -11,12 +11,33 @@ success_symbol = "[❯](bold purple)"
|
||||||
[cmd_duration]
|
[cmd_duration]
|
||||||
format = " [$duration]($style)"
|
format = " [$duration]($style)"
|
||||||
|
|
||||||
|
[dart]
|
||||||
|
format = '[\($symbol($version\) )]($style)'
|
||||||
|
|
||||||
|
[deno]
|
||||||
|
format = '[\($symbol($version\) )]($style)'
|
||||||
|
|
||||||
|
[dotnet]
|
||||||
|
format = '[\($symbol($version\) )]($style)'
|
||||||
|
|
||||||
[git_branch]
|
[git_branch]
|
||||||
format = "[$branch(:$remote_branch)]($style) "
|
format = "[$branch(:$remote_branch)]($style) "
|
||||||
|
|
||||||
[git_status]
|
[git_status]
|
||||||
format = "([$all_status$ahead_behind]($style) )"
|
format = "([$all_status$ahead_behind]($style) )"
|
||||||
|
|
||||||
|
[nodejs]
|
||||||
|
format = '[\($symbol($version\) )]($style)'
|
||||||
|
|
||||||
|
[package]
|
||||||
|
format = '[$symbol($version )]($style)'
|
||||||
|
|
||||||
|
[python]
|
||||||
|
format = '[\(${symbol}($version\) )]($style)'
|
||||||
|
|
||||||
|
[rust]
|
||||||
|
format = '[\($symbol($version\) )]($style)'
|
||||||
|
|
||||||
[status]
|
[status]
|
||||||
format = " [$status]($style)"
|
format = " [$status]($style)"
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue