reverted starship config because claude fucked it up
parent
523ec416e8
commit
f8b5f1aa6a
270
starship.toml
270
starship.toml
|
|
@ -1,140 +1,85 @@
|
||||||
# starship.toml — Starship cross-shell prompt configuration
|
#format = "[](#f50505)$os$username[](bg:#E40046 fg:#f50505)$directory[](fg:#E40046 bg:#5018dd)$git_branch$git_status[](fg:#5018dd bg:#5018dd)$c$elixir$elm$golang$gradle$haskell$java$julia$nodejs$nim$rust$scala[](fg:#5018dd bg:#f50505)$docker_context[](fg:#f50505 bg:#5018dd)$time[ ](fg:#5018dd)\n [╚═](#f50505)"
|
||||||
#
|
format = "[](#f50505)$os$username[](bg:#E40046 fg:#f50505)$directory[](fg:#E40046 bg:#5018dd)$git_branch$git_status[](fg:#5018dd bg:#5018dd)$c$elixir$elm$golang$gradle$haskell$java$julia$nodejs$nim$rust$scala[](fg:#5018dd bg:#f50505)$docker_context[](fg:#f50505 bg:#5018dd)$time[ ](fg:#5018dd)"
|
||||||
# Starship reads this file (by default at ~/.config/starship.toml) and renders
|
#format = "[](#f50505)$os$username[](bg:#E40046 fg:#f50505)$directory[](fg:#E40046 bg:#5018dd)$git_branch$git_status[](fg:#5018dd bg:#5018dd)$c$elixir$elm$golang$gradle$haskell$java$julia$nodejs$nim$rust$scala[](fg:#5018dd bg:#f50505)$docker_context[](fg:#f50505 bg:#5018dd)$time[ ](fg:#5018dd)"
|
||||||
# the shell prompt. This config implements a powerline-style segmented prompt
|
|
||||||
# using the CyberQueer color palette:
|
|
||||||
#
|
|
||||||
# #f50505 — Red Hi-vis (segment borders, username background)
|
|
||||||
# #E40046 — Hot Pink Accent (directory segment background)
|
|
||||||
# #5018dd — Electric Violet (git/language/time segment background)
|
|
||||||
#
|
|
||||||
# Prompt layout (left to right on one line):
|
|
||||||
# [red border] [OS icon + username] [pink separator] [path]
|
|
||||||
# [violet separator] [git branch + status] [language versions (if detected)]
|
|
||||||
# [red separator] [docker context] [violet separator] [time]
|
|
||||||
#
|
|
||||||
# The format string uses Starship's powerline "arrow" glyphs () as segment
|
|
||||||
# separators: each changes both the foreground and background color to create
|
|
||||||
# the filled-triangle transition between segments.
|
|
||||||
#
|
|
||||||
|
|
||||||
# ─── Top-level format ──────────────────────────────────────────────────────────
|
continuation_prompt = "\n [](#E40046 )[](fg:#E40046 bg:#5018dd)[](#5018dd)"
|
||||||
|
|
||||||
# Commented-out alternative that included a second line with '╚═' continuation.
|
|
||||||
# Currently using the single-line version below for a compact prompt.
|
|
||||||
#format = "[](#f50505)$os$username[](bg:#E40046 fg:#f50505)$directory[](fg:#E40046 bg:#5018dd)$git_branch$git_status[](fg:#5018dd bg:#5018dd)$c$elixir$elm$golang$gradle$haskell$java$julia$nodejs$nim$rust$scala[](fg:#5018dd bg:#f50505)$docker_context[](fg:#f50505 bg:#5018dd)$time[ ](fg:#5018dd)\n [╚═](#f50505)"
|
|
||||||
|
|
||||||
# Active single-line format.
|
|
||||||
# Each segment is a bracketed block with inline styling: [content](style).
|
|
||||||
# The bare characters are powerline separator glyphs that create colored triangles.
|
|
||||||
format = "[](#f50505)$os$username[](bg:#E40046 fg:#f50505)$directory[](fg:#E40046 bg:#5018dd)$git_branch$git_status[](fg:#5018dd bg:#5018dd)$c$elixir$elm$golang$gradle$haskell$java$julia$nodejs$nim$rust$scala[](fg:#5018dd bg:#f50505)$docker_context[](fg:#f50505 bg:#5018dd)$time[ ](fg:#5018dd)"
|
|
||||||
|
|
||||||
# Another commented alternative — kept for reference when experimenting with layout.
|
|
||||||
#format = "[](#f50505)$os$username[](bg:#E40046 fg:#f50505)$directory[](fg:#E40046 bg:#5018dd)$git_branch$git_status[](fg:#5018dd bg:#5018dd)$c$elixir$elm$golang$gradle$haskell$java$julia$nodejs$nim$rust$scala[](fg:#5018dd bg:#f50505)$docker_context[](fg:#f50505 bg:#5018dd)$time[ ](fg:#5018dd)"
|
|
||||||
|
|
||||||
# continuation_prompt: shown on the second and subsequent lines of a multi-line command.
|
|
||||||
# The glyphs create a mini powerline row indicating the shell is waiting for more input.
|
|
||||||
continuation_prompt = "\n [](#E40046 )[](fg:#E40046 bg:#5018dd)[](#5018dd)"
|
|
||||||
|
|
||||||
# Disable the blank line at the start of the prompt
|
# Disable the blank line at the start of the prompt
|
||||||
# add_newline = false
|
# add_newline = false
|
||||||
|
|
||||||
# You can also replace your username with a neat symbol like or disable this
|
# You can also replace your username with a neat symbol like or disable this
|
||||||
# and use the os module below
|
# and use the os module below
|
||||||
|
|
||||||
# ─── Username segment ──────────────────────────────────────────────────────────
|
|
||||||
# Always shows the current username — useful as a reminder when switching accounts.
|
|
||||||
# Sits on the red (#f50505) segment immediately after the OS icon.
|
|
||||||
[username]
|
[username]
|
||||||
show_always = true # Show even when not in SSH or root context
|
show_always = true
|
||||||
style_user = "bg:#f50505" # Regular user: red background (matches the border color)
|
style_user = "bg:#f50505"
|
||||||
style_root = "bg:#f50505" # Root: same red background (no color distinction by design)
|
style_root = "bg:#f50505"
|
||||||
format = "[$user ]($style)" # Trailing space before the next separator glyph
|
format = "[$user ]($style)"
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
|
|
||||||
# An alternative to the username module which displays a symbol that
|
# An alternative to the username module which displays a symbol that
|
||||||
# represents the current operating system
|
# represents the current operating system
|
||||||
|
|
||||||
# ─── OS icon segment ───────────────────────────────────────────────────────────
|
|
||||||
# Displays a Nerd Font icon for the detected OS (e.g., for Arch Linux).
|
|
||||||
# Placed before the username on the same red background segment.
|
|
||||||
[os]
|
[os]
|
||||||
style = "bg:#f50505"
|
style = "bg:#f50505"
|
||||||
disabled = false # Disabled by default
|
disabled = false # Disabled by default
|
||||||
|
|
||||||
# ─── Directory segment ─────────────────────────────────────────────────────────
|
|
||||||
# Shows the current path on a hot-pink (#E40046) background.
|
|
||||||
[directory]
|
[directory]
|
||||||
|
|
||||||
style = "bg:#E40046"
|
style = "bg:#E40046"
|
||||||
format = "[ $path ]($style)"
|
format = "[ $path ]($style)"
|
||||||
truncation_length = 3 # Show at most 3 path components before truncating
|
truncation_length = 3
|
||||||
truncation_symbol = "…/" # Prefix shown when the path is truncated
|
truncation_symbol = "…/"
|
||||||
|
|
||||||
|
|
||||||
# Here is how you can shorten some long paths by text replacement
|
# Here is how you can shorten some long paths by text replacement
|
||||||
# similar to mapped_locations in Oh My Posh:
|
# similar to mapped_locations in Oh My Posh:
|
||||||
# ─── Directory substitutions ───────────────────────────────────────────────────
|
|
||||||
# Replaces long directory names with compact Nerd Font icons for common folders.
|
|
||||||
# This keeps the prompt short without losing context.
|
|
||||||
[directory.substitutions]
|
[directory.substitutions]
|
||||||
"Documents" = " " # Document/paper icon
|
"Documents" = " "
|
||||||
"Downloads" = " " # Download/arrow icon
|
"Downloads" = " "
|
||||||
"Music" = " " # Music note icon (English)
|
"Music" = " "
|
||||||
"music" = " " # lowercase variant
|
"music" = " "
|
||||||
"Musik" = " " # German 'Musik'
|
"Musik" = " "
|
||||||
"musik" = " " # German lowercase
|
"musik" = " "
|
||||||
"Pictures" = " " # Image/photo icon
|
"Pictures" = " "
|
||||||
|
|
||||||
|
|
||||||
# Keep in mind that the order matters. For example:
|
# Keep in mind that the order matters. For example:
|
||||||
# "Important Documents" = " "
|
# "Important Documents" = " "
|
||||||
# will not be replaced, because "Documents" was already substituted before.
|
# will not be replaced, because "Documents" was already substituted before.
|
||||||
# So either put "Important Documents" before "Documents" or use the substituted version:
|
# So either put "Important Documents" before "Documents" or use the substituted version:
|
||||||
# "Important " = " "
|
# "Important " = " "
|
||||||
|
|
||||||
# ─── Language / tool version segments ─────────────────────────────────────────
|
|
||||||
# Each of these segments auto-detects project files and shows the active
|
|
||||||
# language/runtime version. All share the violet (#5018dd) background to form
|
|
||||||
# a unified "toolchain" segment block. They only appear when relevant files
|
|
||||||
# are detected in the current or parent directories (e.g., *.c for C, go.mod for Go).
|
|
||||||
|
|
||||||
[c]
|
[c]
|
||||||
symbol = " " # C language Nerd Font icon
|
symbol = " "
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[docker_context]
|
[docker_context]
|
||||||
symbol = " " # Docker whale icon
|
symbol = " "
|
||||||
style = "bg:#f50505 fg:#5018dd" # Stands out: red background, violet text — highlights active Docker context
|
style = "bg:#f50505 fg:#5018dd"
|
||||||
format = '[ $symbol $context ]($style)'
|
format = '[ $symbol $context ]($style)'
|
||||||
|
|
||||||
[elixir]
|
[elixir]
|
||||||
symbol = " " # Elixir drop icon
|
symbol = " "
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[elm]
|
[elm]
|
||||||
symbol = " " # Elm triangle icon
|
symbol = " "
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
# ─── Git segments ──────────────────────────────────────────────────────────────
|
|
||||||
|
|
||||||
[git_branch]
|
[git_branch]
|
||||||
symbol = "" # Git branch icon (nerd font)
|
symbol = ""
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
format = '[ $symbol $branch ]($style)' # Shows current branch name
|
format = '[ $symbol $branch ]($style)'
|
||||||
|
|
||||||
[git_status]
|
[git_status]
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
# $all_status: compact status codes (M=modified, ?=untracked, !=staged, etc.)
|
|
||||||
# $ahead_behind: shows ↑N/↓N when ahead/behind the remote branch
|
|
||||||
format = '[$all_status $ahead_behind]($style)'
|
format = '[$all_status $ahead_behind]($style)'
|
||||||
|
|
||||||
[golang]
|
[golang]
|
||||||
symbol = " " # Go gopher icon
|
symbol = " "
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
|
|
@ -143,184 +88,175 @@ style = "bg:#5018dd"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[haskell]
|
[haskell]
|
||||||
symbol = " " # Haskell lambda icon
|
symbol = " "
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[java]
|
[java]
|
||||||
symbol = " " # Java coffee cup icon
|
symbol = " "
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[julia]
|
[julia]
|
||||||
symbol = " " # Julia dots icon
|
symbol = " "
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[nodejs]
|
[nodejs]
|
||||||
symbol = "" # Node.js hexagon icon
|
symbol = ""
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[nim]
|
[nim]
|
||||||
symbol = " " # Nim crown icon
|
symbol = " "
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[rust]
|
[rust]
|
||||||
symbol = "" # Rust gear icon
|
symbol = ""
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[scala]
|
[scala]
|
||||||
symbol = " " # Scala 'S' icon
|
symbol = " "
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
# ─── Time segment ──────────────────────────────────────────────────────────────
|
|
||||||
# Always-on clock at the right end of the prompt.
|
|
||||||
# Helps track how long commands take and time awareness during deep work sessions.
|
|
||||||
[time]
|
[time]
|
||||||
disabled = false
|
disabled = false
|
||||||
time_format = "%R" # Hour:Minute Format (24h, e.g. "14:35") — no seconds to save space
|
time_format = "%R" # Hour:Minute Format
|
||||||
style = "bg:#5018dd"
|
style = "bg:#5018dd"
|
||||||
format = "[ $time ]($style)" # Clock icon + time on violet background
|
format = "[ $time ]($style)"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ─── Symbol-only overrides ─────────────────────────────────────────────────────
|
|
||||||
# The following sections only override the icon symbol for modules that aren't
|
|
||||||
# actively displayed in the main format string. Starship uses these symbols
|
|
||||||
# in the `help` output and when the module is added to format later.
|
|
||||||
|
|
||||||
[aws]
|
[aws]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[buf]
|
[buf]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[cmake]
|
[cmake]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[conda]
|
[conda]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[crystal]
|
[crystal]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[dart]
|
[dart]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
[fennel]
|
[fennel]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[fossil_branch]
|
[fossil_branch]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
[git_commit]
|
[git_commit]
|
||||||
tag_symbol = ' ' # Tag icon shown next to tagged commits
|
tag_symbol = ' '
|
||||||
|
|
||||||
[guix_shell]
|
[guix_shell]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[haxe]
|
[haxe]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[hg_branch]
|
[hg_branch]
|
||||||
symbol = " " # Mercurial branch icon
|
symbol = " "
|
||||||
|
|
||||||
[hostname]
|
[hostname]
|
||||||
ssh_symbol = " " # Server/rack icon shown when connected via SSH
|
ssh_symbol = " "
|
||||||
|
|
||||||
|
|
||||||
[kotlin]
|
[kotlin]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[lua]
|
[lua]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[memory_usage]
|
[memory_usage]
|
||||||
symbol = " " # RAM chip icon
|
symbol = " "
|
||||||
|
|
||||||
[meson]
|
[meson]
|
||||||
symbol = " " # Build system icon
|
symbol = " "
|
||||||
|
|
||||||
|
|
||||||
[nix_shell]
|
[nix_shell]
|
||||||
symbol = " " # Snowflake icon for Nix environments
|
symbol = " "
|
||||||
|
|
||||||
[ocaml]
|
[ocaml]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
# ─── OS icon symbol table ──────────────────────────────────────────────────────
|
|
||||||
# Maps detected OS names to their Nerd Font icons.
|
|
||||||
# These are displayed by the [os] module defined above.
|
|
||||||
# All icons require a Nerd Font (or compatible patched font) to render correctly.
|
|
||||||
[os.symbols]
|
[os.symbols]
|
||||||
Alpaquita = " "
|
Alpaquita = " "
|
||||||
Alpine = " "
|
Alpine = " "
|
||||||
AlmaLinux = " "
|
AlmaLinux = " "
|
||||||
Amazon = " "
|
Amazon = " "
|
||||||
Android = " "
|
Android = " "
|
||||||
Arch = " " # Arch Linux pacman-ghost icon
|
Arch = " "
|
||||||
Artix = " "
|
Artix = " "
|
||||||
CentOS = " "
|
CentOS = " "
|
||||||
Debian = " "
|
Debian = " "
|
||||||
DragonFly = " "
|
DragonFly = " "
|
||||||
Emscripten = " "
|
Emscripten = " "
|
||||||
EndeavourOS = " "
|
EndeavourOS = " "
|
||||||
Fedora = " "
|
Fedora = " "
|
||||||
FreeBSD = " "
|
FreeBSD = " "
|
||||||
Garuda = " "
|
Garuda = " "
|
||||||
Gentoo = " "
|
Gentoo = " "
|
||||||
HardenedBSD = " "
|
HardenedBSD = " "
|
||||||
Illumos = " "
|
Illumos = " "
|
||||||
Kali = " "
|
Kali = " "
|
||||||
Linux = " " # Generic Linux penguin icon
|
Linux = " "
|
||||||
Mabox = " "
|
Mabox = " "
|
||||||
Macos = " " # Apple icon
|
Macos = " "
|
||||||
Manjaro = " "
|
Manjaro = " "
|
||||||
Mariner = " "
|
Mariner = " "
|
||||||
MidnightBSD = " "
|
MidnightBSD = " "
|
||||||
Mint = " "
|
Mint = " "
|
||||||
NetBSD = " "
|
NetBSD = " "
|
||||||
NixOS = " "
|
NixOS = " "
|
||||||
OpenBSD = " "
|
OpenBSD = " "
|
||||||
openSUSE = " "
|
openSUSE = " "
|
||||||
OracleLinux = " "
|
OracleLinux = " "
|
||||||
Pop = " "
|
Pop = " "
|
||||||
Raspbian = " "
|
Raspbian = " "
|
||||||
Redhat = " "
|
Redhat = " "
|
||||||
RedHatEnterprise = " "
|
RedHatEnterprise = " "
|
||||||
RockyLinux = " "
|
RockyLinux = " "
|
||||||
Redox = " "
|
Redox = " "
|
||||||
Solus = " "
|
Solus = " "
|
||||||
SUSE = " "
|
SUSE = " "
|
||||||
Ubuntu = " "
|
Ubuntu = " "
|
||||||
Unknown = " "
|
Unknown = " "
|
||||||
Void = " "
|
Void = " "
|
||||||
Windows = " " # Windows logo icon (for WSL sessions)
|
Windows = " "
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
symbol = " " # Package/box icon for package.json / Cargo.toml version display
|
symbol = " "
|
||||||
|
|
||||||
[perl]
|
[perl]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[php]
|
[php]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[pijul_channel]
|
[pijul_channel]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[python]
|
[python]
|
||||||
symbol = " " # Python snake icon
|
symbol = " "
|
||||||
|
|
||||||
[rlang]
|
[rlang]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[ruby]
|
[ruby]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[swift]
|
[swift]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[zig]
|
[zig]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue