74 lines
1.2 KiB
TOML
74 lines
1.2 KiB
TOML
format = """
|
|
$username\
|
|
$hostname\
|
|
$directory\
|
|
$python\
|
|
$c\
|
|
$cmake\
|
|
$golang\
|
|
$java\
|
|
$lua\
|
|
$rust\
|
|
$container\
|
|
$direnv\
|
|
$nix_shell\
|
|
$git_branch\
|
|
$git_commit\
|
|
$git_state\
|
|
$git_status\
|
|
$jobs\
|
|
$cmd_duration\
|
|
$line_break\
|
|
$character"""
|
|
|
|
"$schema" = 'https://starship.rs/config-schema.json'
|
|
|
|
add_newline = true
|
|
|
|
[directory]
|
|
style = "blue"
|
|
truncation_length = 3
|
|
# style = "#C4693D"
|
|
fish_style_pwd_dir_length = 3
|
|
truncate_to_repo = true
|
|
|
|
[character]
|
|
success_symbol = "[>](purple)"
|
|
error_symbol = "[>](red)"
|
|
vimcmd_symbol = "[<](green)"
|
|
|
|
[git_branch]
|
|
format = "[$branch]($style)"
|
|
style = "bright-black"
|
|
|
|
[git_status]
|
|
# format = '([\[$all_status$ahead_behind\]]($style) )'
|
|
format = '([$all_status$ahead_behind ]($style) )'
|
|
|
|
[git_state]
|
|
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
|
style = "bright-black"
|
|
|
|
[cmd_duration]
|
|
format = "[$duration]($style) "
|
|
style = "yellow"
|
|
|
|
[python]
|
|
format = "[$virtualenv]($style) "
|
|
# format = 'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'
|
|
# style = "bright-black"
|
|
symbol = " "
|
|
|
|
[golang]
|
|
symbol = " "
|
|
|
|
[lua]
|
|
symbol = " "
|
|
format = '[$symbol]($style)'
|
|
|
|
[nix_shell]
|
|
symbol = " "
|
|
format = 'via [$symbol]($style)'
|
|
|
|
[rust]
|
|
symbol = " "
|