dotfiles/.config/starship.toml

69 lines
1.1 KiB
TOML
Raw Normal View History

2020-09-28 23:16:07 +02:00
add_newline = false
2020-09-27 16:38:35 +02:00
2023-03-17 11:31:45 +01:00
2020-09-30 17:13:59 +02:00
format = """\
2023-04-29 11:33:39 +02:00
${env_var.TMUX_WINDOW}\
2021-10-21 16:29:20 +02:00
$hostname\
2020-09-30 17:13:59 +02:00
$directory\
2023-03-28 11:10:21 +02:00
${custom.sl_status}\
2023-04-29 11:33:39 +02:00
$git_branch\
$git_commit\
$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 = """\
"""
2023-04-29 11:33:39 +02:00
[env_var.TMUX_WINDOW]
default = ""
format = '[ $env_value ]($style)[](fg:#d1002f) '
style = 'italic bg:#d1002f fg:#ffffff'
[custom.sl_status]
command = '''~/bin/starship-sl-status'''
2023-04-27 15:40:04 +02:00
when = false
style = "italic fg:#79AE6F"
format = '[(🌱 $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 = ""