# Alloy starship configuration # # Cross-shell prompt per docs/STACK.md#shell. Two-line prompt: line # one for context (cwd + git + language versions), line two for the # entry glyph. Color reserved for state (git dirty, non-zero exit, # insert/normal mode) per DESIGN-LANGUAGE.md. # # Palette drawn from docs/TOKENS.md hex values, mapped to starship's # color slots by function, not by name. format = """ $directory\ $git_branch\ $git_status\ $python\ $rust\ $nodejs\ $cmd_duration\ $line_break\ $character""" right_format = """$time""" add_newline = true # ------------------------------------------------------------------- # Entry glyph — the prompt character itself # ------------------------------------------------------------------- [character] success_symbol = "[▸](#222d38)" # text-secondary error_symbol = "[▸](#6a2828)" # accent-error on non-zero exit vimcmd_symbol = "[◂](#3a5830)" # accent-ok (normal mode) # ------------------------------------------------------------------- # Directory — truncated, primary text # ------------------------------------------------------------------- [directory] style = "bold #1a1816" # text-primary format = "[$path]($style)[$read_only]($read_only_style) " truncation_length = 4 truncation_symbol = "…/" truncate_to_repo = true read_only = " " read_only_style = "#6a2828" # ------------------------------------------------------------------- # Git — branch (secondary), status (accent-warn if dirty) # ------------------------------------------------------------------- [git_branch] symbol = " " style = "#222d38" # text-secondary format = "[$symbol$branch]($style) " [git_status] style = "#b07840" # accent-warn format = "[$all_status$ahead_behind]($style) " conflicted = "=" ahead = "↑${count}" behind = "↓${count}" diverged = "↕${ahead_count}↓${behind_count}" untracked = "?" stashed = "$" modified = "!" staged = "+" renamed = "»" deleted = "✘" # ------------------------------------------------------------------- # Language versions — dim, only shown when relevant to cwd # ------------------------------------------------------------------- [python] symbol = " " style = "#514b45" # text-muted format = "[$symbol$version]($style) " detect_extensions = ["py"] detect_files = ["pyproject.toml", "requirements.txt", "setup.py"] [rust] symbol = " " style = "#514b45" format = "[$symbol$version]($style) " [nodejs] symbol = " " style = "#514b45" format = "[$symbol$version]($style) " # ------------------------------------------------------------------- # Command duration — only for commands >2s # ------------------------------------------------------------------- [cmd_duration] min_time = 2000 style = "#222d38" format = "[$duration]($style) " show_milliseconds = false # ------------------------------------------------------------------- # Right-aligned clock — display font role (readout, not chrome). # Kept in Iosevka since starship can't switch fonts per segment; # this is a small honest deviation from the "readouts in Departure" # rule that docs/TOKENS.md sanctions for terminal contexts. # ------------------------------------------------------------------- [time] disabled = false format = "[$time]($style)" time_format = "%H:%M" style = "#514b45" # ------------------------------------------------------------------- # Disabled modules — noise for Alloy's audience # ------------------------------------------------------------------- [package] disabled = true [hostname] disabled = true [username] disabled = true [aws] disabled = true [gcloud] disabled = true [docker_context] disabled = true