feat: add minimal, terminal-only Starship config and ensure .zshrc uses it

This commit is contained in:
Martin Büchler 2025-08-07 23:31:12 +02:00
parent 8541abce90
commit a130015f85
2 changed files with 79 additions and 0 deletions

78
.config/starship.toml Normal file
View File

@ -0,0 +1,78 @@
# Starship prompt config — terminal only, no language segments
# See https://starship.rs/config/ for full options
# Basic prompt settings
format = "$all\n$character"
# Remove all language-specific modules
[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
# Only show basic terminal info
[username]
disabled = false
[hostname]
disabled = false
[directory]
disabled = false
[git_branch]
disabled = false
[git_status]
disabled = false
# Character prompt
[character]
success_symbol = "[](bold green)"
error_symbol = "[](bold red)"

1
.zshrc
View File

@ -74,6 +74,7 @@ zinit light zsh-users/zsh-completions
zinit light zsh-users/zsh-history-substring-search
zinit snippet OMZP::git
# Starship prompt initialization
export STARSHIP_CONFIG="$HOME/.config/starship.toml"
if command -v starship >/dev/null; then
eval "$(starship init zsh)"
fi