Created
August 27, 2023 09:04
-
-
Save its-19818942118/373b778ab0453d19d2f882f52983d3e4 to your computer and use it in GitHub Desktop.
a starship config file
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 | |
# Inserts a blank line between shell prompts | |
add_newline = true | |
# Change the default prompt format | |
format = """ | |
[╭╴](bold purple)$os $time\ | |
| $all[╰─](red)$character\ | |
""" | |
# Change the default prompt characters | |
[character] | |
success_symbol = "[](238)" | |
error_symbol = "[](238)" | |
# No need for env variables as starship provides a way to show your current distro | |
[os] | |
format ="[$symbol](bold white)Laptop" | |
disabled = false | |
[os.symbols] | |
Windows = " " | |
Linux = " " | |
Arch = "" | |
Debian ="" | |
Fedora ="" | |
Ubuntu = "" | |
#Directory settings | |
[directory] | |
truncation_length = 5 | |
truncation_symbol = "…/" | |
home_symbol = "| ~" | |
read_only_style = "197" | |
read_only = " " | |
format = "at [$path]($style)[$read_only]($read_only_style) " | |
# Shows the username | |
[username] | |
style_user = "bold blue" | |
style_root = "bold purple" | |
format = " [$user]($style) " | |
disabled = false # disable in powershell | |
show_always = true | |
# Shows the prompt for the root user | |
#[root] | |
#format = "[$user]($style) " | |
#disabled = false | |
#show_always = true | |
# Shows the battery | |
[battery] | |
full_symbol = "🔋 " | |
charging_symbol = "⚡️ " | |
discharging_symbol = "💀 " | |
disabled = false | |
# Shows the app directory/contents | |
[git_branch] | |
symbol = " " | |
format = "on [$symbol$branch]($style) " | |
truncation_length = 4 | |
truncation_symbol = "…/" | |
style = "bold green" | |
[git_status] | |
format = '[\($all_status$ahead_behind\)]($style) ' | |
style = "bold green" | |
conflicted = "🏳" | |
up_to_date = " " | |
untracked = " " | |
ahead = "⇡${count}" | |
diverged = "⇕⇡${ahead_count}⇣${behind_count}" | |
behind = "⇣${count}" | |
stashed = " " | |
modified = " " | |
staged = '[++\($count\)](green)' | |
renamed = " " | |
deleted = " " | |
[terraform] | |
format = "via [ terraform $version]($style) 壟 [$workspace]($style) " | |
[vagrant] | |
format = "via [ vagrant $version]($style) " | |
[docker_context] | |
format = "via [ $context](bold blue) " | |
[helm] | |
format = "via [ $version](bold purple) " | |
[python] | |
symbol = " " | |
python_binary = "python3" | |
[nodejs] | |
format = "via [ $version](bold green) " | |
disabled = true | |
[ruby] | |
format = "via [ $version]($style) " | |
[kubernetes] | |
format = 'on [ $context\($namespace\)](bold purple) ' | |
disabled = false | |
[kubernetes.context_aliases] | |
"clcreative-k8s-staging" = "cl-k8s-staging" | |
"clcreative-k8s-production" = "cl-k8s-prod" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment