dotfiles/.config/starship.toml
Martin Büchler f111d4a054 chore(starship): update prompt layout and colors for optimal status/duration display
- Status and info left-aligned on first line
- Command duration right-aligned on last line
- Remove clock, ensure powerline style matches tmux

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-08-08 00:25:17 +02:00

106 lines
1.9 KiB
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Starship Powerline-style prompt, matching tmux colors
# Requires Nerd Font for separators
format = "$status$username$hostname$directory$git_branch$git_status\n$character"
right_format = "$cmd_duration"
[username]
show_always = false
style_user = "bg:#303030 fg:#eaeaea bold"
[hostname]
ssh_only = true
style = "bg:#303030 fg:#eaeaea bold"
[directory]
style = "bg:#303030 fg:#eaeaea"
read_only = " "
format = "[$path](bg:#303030 fg:#eaeaea bold)[](fg:#303030 bg:#0087ff)"
truncation_length = 4
truncation_symbol = "…/"
home_symbol = "~"
truncate_to_repo = false
[git_branch]
style = "bg:#0087ff fg:#1c1c1c"
symbol = " "
format = "[$symbol$branch](bg:#0087ff fg:#1c1c1c bold)[](fg:#0087ff bg:#ff8700)"
[git_status]
style = "bg:#ff8700 fg:#1c1c1c"
format = "[$all_status](bg:#ff8700 fg:#1c1c1c bold)[](fg:#ff8700 bg:#303030)"
disabled = false
[status]
disabled = false
format = "[$symbol$status](bg:#ff8700 fg:#1c1c1c bold)\n"
symbol = "✗ "
signal_symbol = "⚡ "
success_symbol = ""
not_executable_symbol = ""
[cmd_duration]
min_time = 0
format = "[$duration](fg:#00afff bg:#303030 bold)"
show_milliseconds = true
[character]
success_symbol = "[](bold blue)"
error_symbol = "[](bold orange)"
# Hide language segments
[aws]
disabled = true
[cmake]
disabled = true
[conda]
disabled = true
[dart]
disabled = true
[deno]
disabled = true
[docker_context]
disabled = true
[elixir]
disabled = true
[elm]
disabled = true
[golang]
disabled = true
[haskell]
disabled = true
[java]
disabled = true
[julia]
disabled = true
[kotlin]
disabled = true
[nim]
disabled = true
[nodejs]
disabled = true
[ocaml]
disabled = true
[perl]
disabled = true
[php]
disabled = true
[purescript]
disabled = true
[python]
disabled = true
[ruby]
disabled = true
[rust]
disabled = true
[scala]
disabled = true
[swift]
disabled = true
[terraform]
disabled = true
[vlang]
disabled = true
[zig]
disabled = true