Created
June 3, 2025 15:55
-
-
Save mike-rambil/b7f164d2a75a1123a153291b2f3496ac to your computer and use it in GitHub Desktop.
Windows Terminal - StarShip TOML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/starship.toml | |
# ————— Prompt-wide settings ————— | |
add_newline = true | |
format = """$directory $git_branch$git_status$python$rust$c$nodejs$java$docker_context | |
$character""" | |
# ————— directory module ————— | |
[directory] | |
style = "blue bold" | |
truncation_length = 1000 | |
truncation_symbol = "…/" | |
home_symbol = "~" | |
read_only = "🔒" | |
fish_style_pwd_dir_length = 1 | |
use_os_path_sep = true | |
# ————— git_branch module ————— | |
[git_branch] | |
symbol = "\uE0A0 " | |
style = "bold purple" | |
format = "[$symbol$branch]($style) " | |
# ————— git_status module ————— | |
[git_status] | |
style = "yellow" | |
format = '([$all_status$ahead_behind]($style)) ' | |
conflicted = "🏳" | |
ahead = "⇡${count}" | |
behind = "⇣${count}" | |
diverged = "⇕⇡${ahead_count}⇣${behind_count}" | |
untracked = "🤷 ${count}" | |
stashed = "📦 ${count}" | |
modified = "📝 ${count}" | |
staged = "✅ ${count}" | |
renamed = "📛 ${count}" | |
deleted = "🗑️ ${count}" | |
# ————— python module ————— | |
[python] | |
symbol = "🐍" | |
pyenv_version_name = true | |
format = '[${symbol} ${version} (${virtualenv})]($style) ' | |
style = "bold green" | |
detect_extensions = ["py"] | |
detect_files = ["requirements.txt", "pyproject.toml", "setup.py", ".python-version"] | |
detect_folders = ["__pycache__"] | |
# ————— rust module ————— | |
[rust] | |
symbol = "🦀" | |
format = "[$symbol $version]($style) " | |
style = "red bold" | |
# ————— c module ————— | |
[c] | |
symbol = "💻" | |
format = "[$symbol]($style) " | |
style = "cyan" | |
detect_extensions = ["c", "h"] | |
detect_files = ["Makefile"] | |
detect_folders = ["src"] | |
# ————— nodejs module ————— | |
[nodejs] | |
symbol = "🟢" | |
format = "[$symbol $version]($style) " | |
style = "green" | |
# ————— java module ————— | |
[java] | |
symbol = "☕" | |
format = "[$symbol $version]($style) " | |
style = "red" | |
# ————— docker_context module ————— | |
[docker_context] | |
symbol = "🐳" | |
format = "[$symbol $context]($style) " | |
style = "blue bold" | |
# ————— character module ————— | |
[character] | |
success_symbol = "[❯](bold green)" | |
error_symbol = "[✗](bold red)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment