2024-03-08 19:51:32 +01:00
|
|
|
"$schema" = 'https://starship.rs/config-schema.json'
|
|
|
|
|
2024-03-25 22:57:04 +01:00
|
|
|
add_newline = true
|
2024-03-08 19:51:32 +01:00
|
|
|
|
|
|
|
format = """\
|
2024-03-26 00:41:11 +01:00
|
|
|
$fill\
|
2024-06-01 12:50:32 +02:00
|
|
|
${custom.pwd}\
|
2024-03-26 00:41:11 +01:00
|
|
|
$line_break\
|
2024-06-01 12:50:32 +02:00
|
|
|
$hostname\
|
2024-03-08 19:51:32 +01:00
|
|
|
$directory\
|
|
|
|
($character)\
|
|
|
|
"""
|
|
|
|
|
|
|
|
right_format = """\
|
2024-03-26 00:41:11 +01:00
|
|
|
$cmd_duration\
|
|
|
|
$git_branch$git_commit$git_status$git_state\
|
|
|
|
"""
|
2024-03-08 19:51:32 +01:00
|
|
|
|
|
|
|
[hostname]
|
|
|
|
ssh_only = false
|
2024-06-01 12:50:32 +02:00
|
|
|
format = "[$hostname](italic bold)"
|
2024-03-26 00:41:11 +01:00
|
|
|
disabled = false
|
|
|
|
|
|
|
|
[time]
|
2024-03-08 19:51:32 +01:00
|
|
|
disabled = false
|
2024-06-01 12:50:32 +02:00
|
|
|
format = '[ $time](italic dimmed inverted)'
|
2024-03-26 00:41:11 +01:00
|
|
|
time_format = '%R'
|
|
|
|
|
|
|
|
[custom.pwd]
|
2024-06-01 12:50:32 +02:00
|
|
|
command = "prompt_pwd -D 100"
|
2024-03-26 00:41:11 +01:00
|
|
|
when = true
|
2024-06-01 12:50:32 +02:00
|
|
|
format = "[ $output]($style)"
|
|
|
|
style = "italic dimmed"
|
2024-03-08 19:51:32 +01:00
|
|
|
|
|
|
|
[directory]
|
|
|
|
fish_style_pwd_dir_length = 1
|
|
|
|
truncation_length = 1
|
|
|
|
truncate_to_repo = false
|
|
|
|
truncation_symbol = "…"
|
2024-06-01 12:50:32 +02:00
|
|
|
style = "italic"
|
2024-03-26 00:41:11 +01:00
|
|
|
|
|
|
|
[line_break]
|
|
|
|
disabled = false
|
|
|
|
|
|
|
|
[fill]
|
2024-06-01 12:50:32 +02:00
|
|
|
symbol = '┄'
|
|
|
|
style = 'dimmed fg:#888888'
|
2024-03-08 19:51:32 +01:00
|
|
|
|
|
|
|
[character]
|
2024-06-01 12:50:32 +02:00
|
|
|
success_symbol = "[%](bold)"
|
|
|
|
error_symbol = "[✖](bold red)"
|
2024-03-08 19:51:32 +01:00
|
|
|
|
2024-03-26 00:41:11 +01:00
|
|
|
[cmd_duration]
|
|
|
|
min_time = 500
|
|
|
|
format = '[ $duration ](yellow)'
|
|
|
|
|
2024-03-08 19:51:32 +01:00
|
|
|
[git_branch]
|
|
|
|
format = "[$symbol$branch]($style)"
|
2024-06-01 12:50:32 +02:00
|
|
|
style = "italic bold green"
|
2024-03-08 19:51:32 +01:00
|
|
|
symbol = " "
|
|
|
|
truncation_length = 16
|
|
|
|
truncation_symbol = ""
|
|
|
|
|
|
|
|
[git_commit]
|
|
|
|
format = "[ $hash$tag]($style) "
|
2024-06-01 12:50:32 +02:00
|
|
|
style = "cyan"
|
2024-03-08 19:51:32 +01:00
|
|
|
|
|
|
|
[git_state]
|
|
|
|
style = ""
|
|
|
|
|
|
|
|
[git_status]
|
2024-06-01 12:50:32 +02:00
|
|
|
format = '([$all_status$ahead_behind]($style))'
|
2024-03-26 00:41:11 +01:00
|
|
|
style = "fg:#00ac73"
|
2024-06-01 12:50:32 +02:00
|
|
|
modified = "[ ](yellow)"
|
|
|
|
deleted = "[ ✘](red)"
|
|
|
|
untracked = "[ ?](purple)"
|
|
|
|
staged = "[ ](cyan)"
|