dotfiles/.config/starship.toml

77 lines
1.3 KiB
TOML

"$schema" = 'https://starship.rs/config-schema.json'
add_newline = true
format = """\
$fill\
${custom.pwd}\
$line_break\
$hostname\
$directory\
($character)\
"""
right_format = """\
$cmd_duration\
$git_branch$git_commit$git_status$git_state\
"""
[hostname]
ssh_only = false
format = "[$hostname](italic bold)"
disabled = false
[time]
disabled = false
format = '[ $time](italic dimmed inverted)'
time_format = '%R'
[custom.pwd]
command = "prompt_pwd -D 100"
when = true
format = "[ $output]($style)"
style = "italic dimmed"
[directory]
fish_style_pwd_dir_length = 1
truncation_length = 1
truncate_to_repo = false
truncation_symbol = "…"
style = "italic"
[line_break]
disabled = false
[fill]
symbol = '┄'
style = 'dimmed fg:#888888'
[character]
success_symbol = "[%](bold)"
error_symbol = "[✖](bold red)"
[cmd_duration]
min_time = 500
format = '[󱦟 $duration ](yellow)'
[git_branch]
format = "[$symbol$branch]($style)"
style = "italic bold green"
symbol = " "
truncation_length = 16
truncation_symbol = ""
[git_commit]
format = "[ $hash$tag]($style) "
style = "cyan"
[git_state]
style = ""
[git_status]
format = '([$all_status$ahead_behind]($style))'
style = "fg:#00ac73"
modified = "[ 󰦒](yellow)"
deleted = "[ ✘](red)"
untracked = "[ ?](purple)"
staged = "[ 󰐖](cyan)"