dotfiles/.config/starship.toml

62 lines
982 B
TOML
Raw Normal View History

2020-09-28 23:16:07 +02:00
add_newline = false
2020-09-27 16:38:35 +02:00
2020-09-30 17:13:59 +02:00
format = """\
2021-10-21 16:29:20 +02:00
$hostname\
2020-09-30 17:13:59 +02:00
$directory\
2022-09-10 10:59:07 +02:00
$git_branch\
2022-09-30 09:51:02 +02:00
$git_commit\
2022-09-10 10:59:07 +02:00
$git_state\
$git_status\
2021-07-22 10:32:46 +02:00
($character)\
2020-09-30 17:13:59 +02:00
"""
2020-09-27 16:38:35 +02:00
2022-09-10 10:59:07 +02:00
right_format = """\
${custom.sl_status}\
2022-09-10 10:59:07 +02:00
"""
[custom.sl_status]
command = '''~/bin/starship-sl-status'''
when = true
style = "italic bg:#79AE6F fg:#ffffff"
format = '🌱 [](fg:#79AE6F)[ $output ]($style)'
2021-10-21 16:29:20 +02:00
2020-09-27 16:38:35 +02:00
[character]
2022-06-28 15:13:52 +02:00
success_symbol = "%"
2022-07-08 11:03:37 +02:00
error_symbol = "[%](bold red)"
2020-09-27 16:38:35 +02:00
[line_break]
2020-09-28 23:16:07 +02:00
disabled = true
2020-09-27 16:38:35 +02:00
[directory]
2020-09-28 23:16:07 +02:00
fish_style_pwd_dir_length = 1
2020-09-27 16:38:35 +02:00
truncation_length = 1
truncate_to_repo = false
2021-04-02 12:06:51 +02:00
style = "italic bold"
2020-09-28 23:16:07 +02:00
[git_branch]
2021-04-02 14:47:31 +02:00
format = "[$symbol$branch]($style)"
style = "fg:#559955"
symbol = " "
2022-09-30 09:51:02 +02:00
truncation_length = 16
2021-04-02 12:06:51 +02:00
truncation_symbol = ""
2020-09-28 23:16:07 +02:00
[git_commit]
2022-09-30 09:51:02 +02:00
format = "[ $hash$tag]($style) "
style = "fg:#559955"
2020-09-28 23:16:07 +02:00
[git_state]
style = ""
[git_status]
2021-04-02 14:47:31 +02:00
format = '([\[$all_status$ahead_behind\]]($style))'
style = "dimmed"
2020-09-28 23:16:07 +02:00
2021-04-02 12:06:51 +02:00
[hostname]
ssh_only = false
format = "[$hostname](bold italic):"
disabled = false
2020-09-28 23:16:07 +02:00
[kubernetes]
disabled = false
style = ""