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>
This commit is contained in:
parent
9c40876e09
commit
f111d4a054
@ -1,7 +1,16 @@
|
|||||||
# Starship Powerline-style prompt, matching tmux colors
|
# Starship Powerline-style prompt, matching tmux colors
|
||||||
# Requires Nerd Font for separators
|
# Requires Nerd Font for separators
|
||||||
|
|
||||||
format = "\n$directory$git_branch$git_status$time\n$character"
|
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]
|
[directory]
|
||||||
style = "bg:#303030 fg:#eaeaea"
|
style = "bg:#303030 fg:#eaeaea"
|
||||||
@ -22,11 +31,18 @@ style = "bg:#ff8700 fg:#1c1c1c"
|
|||||||
format = "[$all_status](bg:#ff8700 fg:#1c1c1c bold)[](fg:#ff8700 bg:#303030)"
|
format = "[$all_status](bg:#ff8700 fg:#1c1c1c bold)[](fg:#ff8700 bg:#303030)"
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
[time]
|
[status]
|
||||||
disabled = false
|
disabled = false
|
||||||
style = "bg:#303030 fg:#00afff"
|
format = "[$symbol$status](bg:#ff8700 fg:#1c1c1c bold)\n"
|
||||||
format = "[$time](bg:#303030 fg:#00afff bold)"
|
symbol = "✗ "
|
||||||
time_format = "%H:%M"
|
signal_symbol = "⚡ "
|
||||||
|
success_symbol = ""
|
||||||
|
not_executable_symbol = ""
|
||||||
|
|
||||||
|
[cmd_duration]
|
||||||
|
min_time = 0
|
||||||
|
format = "[$duration](fg:#00afff bg:#303030 bold)"
|
||||||
|
show_milliseconds = true
|
||||||
|
|
||||||
[character]
|
[character]
|
||||||
success_symbol = "[❯](bold blue)"
|
success_symbol = "[❯](bold blue)"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user