From a130015f85f4c93b1aa4011601f334377c2af350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20B=C3=BCchler?= Date: Thu, 7 Aug 2025 23:31:12 +0200 Subject: [PATCH] feat: add minimal, terminal-only Starship config and ensure .zshrc uses it --- .config/starship.toml | 78 +++++++++++++++++++++++++++++++++++++++++++ .zshrc | 1 + 2 files changed, 79 insertions(+) create mode 100644 .config/starship.toml diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..821b9ef --- /dev/null +++ b/.config/starship.toml @@ -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)" diff --git a/.zshrc b/.zshrc index 81956e7..3e62ea7 100644 --- a/.zshrc +++ b/.zshrc @@ -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