This overrides the git truncation, were only on path is showed, and make it easier to work with git worktrees.
47 lines
873 B
TOML
47 lines
873 B
TOML
"$schema" = 'https://starship.rs/config-schema.json'
|
||
|
||
format = """
|
||
$username\
|
||
$hostname\
|
||
$directory\
|
||
$git_branch\
|
||
$git_state\
|
||
$git_status\
|
||
$line_break\
|
||
$kubernetes\
|
||
$line_break\
|
||
$character
|
||
"""
|
||
|
||
[directory]
|
||
truncation_length = 2
|
||
truncate_to_repo = false
|
||
|
||
[git_branch]
|
||
format = "[$branch]($style)"
|
||
style = "bright-black"
|
||
|
||
[git_state]
|
||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
||
style = "bright-black"
|
||
|
||
[git_status]
|
||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
||
style = "cyan"
|
||
conflicted = ""
|
||
untracked = ""
|
||
modified = ""
|
||
staged = ""
|
||
renamed = ""
|
||
deleted = ""
|
||
stashed = "≡"
|
||
|
||
[kubernetes]
|
||
format = 'on [⛵ $context \($namespace\)](dimmed green) '
|
||
disabled = false
|
||
|
||
[character]
|
||
success_symbol = "[❯](purple)"
|
||
error_symbol = "[❯](red)"
|
||
vicmd_symbol = "[❮](green)"
|