2024-02-13 22:18:39 +01:00
|
|
|
|
# Get editor completions based on the config schema
|
|
|
|
|
"$schema" = 'https://starship.rs/config-schema.json'
|
|
|
|
|
|
|
|
|
|
[nodejs]
|
|
|
|
|
disabled = true
|
2024-02-13 22:19:17 +01:00
|
|
|
|
|
|
|
|
|
format = """
|
|
|
|
|
$username\
|
|
|
|
|
$hostname\
|
|
|
|
|
$directory\
|
|
|
|
|
$git_branch\
|
|
|
|
|
$git_state\
|
|
|
|
|
$git_status\
|
|
|
|
|
$cmd_duration\
|
|
|
|
|
$line_break\
|
|
|
|
|
$python\
|
|
|
|
|
$character"""
|
|
|
|
|
|
|
|
|
|
[directory]
|
2024-02-14 12:39:30 +01:00
|
|
|
|
style = "#FF9966"
|
2024-02-13 22:19:17 +01:00
|
|
|
|
|
|
|
|
|
[character]
|
2024-02-14 12:40:33 +01:00
|
|
|
|
success_symbol = "[❯](#FF9966)"
|
2024-02-13 22:19:17 +01:00
|
|
|
|
error_symbol = "[❯](red)"
|
|
|
|
|
vimcmd_symbol = "[❮](green)"
|
|
|
|
|
|
|
|
|
|
[git_branch]
|
|
|
|
|
format = "[$branch]($style)"
|
|
|
|
|
style = "bright-black"
|
|
|
|
|
|
|
|
|
|
[git_status]
|
|
|
|
|
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
2024-02-14 12:40:05 +01:00
|
|
|
|
style = "#FF9966"
|
2024-02-13 22:19:17 +01:00
|
|
|
|
conflicted = ""
|
|
|
|
|
untracked = ""
|
|
|
|
|
modified = ""
|
|
|
|
|
staged = ""
|
|
|
|
|
renamed = ""
|
|
|
|
|
deleted = ""
|
2024-02-13 22:25:14 +01:00
|
|
|
|
stashed = "≡ "
|
2024-02-13 22:19:17 +01:00
|
|
|
|
|
|
|
|
|
[git_state]
|
|
|
|
|
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
|
|
|
|
style = "bright-black"
|
|
|
|
|
|
|
|
|
|
[cmd_duration]
|
|
|
|
|
format = "[$duration]($style) "
|
|
|
|
|
style = "yellow"
|
|
|
|
|
|
|
|
|
|
[python]
|
|
|
|
|
format = "[$virtualenv]($style) "
|
|
|
|
|
style = "bright-black"
|
2024-02-13 22:22:24 +01:00
|
|
|
|
|
|
|
|
|
[rust]
|
|
|
|
|
symbol = "rs "
|
2024-02-13 22:23:38 +01:00
|
|
|
|
format = "[$symbol]($style)"
|
2024-02-13 22:24:21 +01:00
|
|
|
|
|
2024-02-13 22:24:36 +01:00
|
|
|
|
[golang]
|
2024-02-13 22:24:21 +01:00
|
|
|
|
symbol = "go "
|
|
|
|
|
format = "[$symbol]($style)"
|