Created
May 27, 2022 07:09
-
-
Save emctoo/c041b9e63d21db691188d4b2b5e76ec0 to your computer and use it in GitHub Desktop.
~/.config/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 | |
# Don't print a new line at the start of the prompt | |
add_newline = false | |
[cmd_duration] | |
show_milliseconds = true | |
format = "took [$duration](bold yellow) " | |
[character] | |
# symbol = "β―" | |
error_symbol = "β" | |
# use_symbol_for_status = true | |
[package] | |
disabled = true # Disable the package module, hiding it from the prompt completely | |
[battery] | |
full_symbol = "π" | |
charging_symbol = "β‘οΈ" | |
discharging_symbol = "π" | |
disabled = true | |
[[battery.display]] # "bold red" style when capacity is between 0% and 10% | |
threshold = 10 | |
style = "bold red" | |
[[battery.display]] # "bold yellow" style when capacity is between 10% and 30% | |
threshold = 30 | |
style = "bold yellow" | |
[directory] | |
truncation_length = 7 | |
# docker | |
[docker_context] | |
symbol = "π " | |
disabled = false | |
# env variable | |
[env_var] | |
disabled = true | |
variable = "SHELL" | |
default = "unknown shell" | |
# git | |
[git_commit] | |
commit_hash_length = 4 | |
[git_status] | |
conflicted = "π³" | |
ahead = "ππ¨" | |
behind = "π°" | |
diverged = "π΅" | |
untracked = "π€·β" | |
stashed = "π¦" | |
modified = "π" | |
staged.value = "++" | |
staged.style = "green" | |
# staged_count.enabled = true | |
# staged_count.style = "green" | |
renamed = "π " | |
deleted = "π" | |
# hostname | |
[hostname] | |
ssh_only = false | |
# prefix = "βͺ" | |
# suffix = "β«" | |
trim_at = ".companyname.com" | |
disabled = false | |
# kubernetes | |
[kubernetes] | |
symbol = "β΅ " | |
style = "dimmed green" | |
disabled = false | |
[kubernetes.context_aliases] | |
"dev.local.cluster.k8s" = "dev" | |
[memory_usage] | |
format = "with$symbol [${ram} ${ram_pct}( | ${swap} ${swap_pct})]($style) " | |
disabled = false | |
threshold = -1 | |
symbol = " " | |
style = "bold dimmed green" | |
[rust] | |
format = "rust: [π¦ $version](red bold)" | |
[golang] | |
format = "go: [ππ¨ $version](bold cyan) " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment