feat: add minimal, terminal-only Starship config and ensure .zshrc uses it
This commit is contained in:
parent
8541abce90
commit
a130015f85
78
.config/starship.toml
Normal file
78
.config/starship.toml
Normal 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
1
.zshrc
@ -74,6 +74,7 @@ zinit light zsh-users/zsh-completions
|
|||||||
zinit light zsh-users/zsh-history-substring-search
|
zinit light zsh-users/zsh-history-substring-search
|
||||||
zinit snippet OMZP::git
|
zinit snippet OMZP::git
|
||||||
# Starship prompt initialization
|
# Starship prompt initialization
|
||||||
|
export STARSHIP_CONFIG="$HOME/.config/starship.toml"
|
||||||
if command -v starship >/dev/null; then
|
if command -v starship >/dev/null; then
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user