Created
February 22, 2024 15:59
-
-
Save steviecoaster/f414a56556257f03211c26ef46b55536 to your computer and use it in GitHub Desktop.
My StarShip config
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
format = """ | |
$directory$git_branch$git_commit$git_state$git_status$cmd_duration | |
$character""" | |
# Get editor completions based on the config schema | |
"$schema" = 'https://starship.rs/config-schema.json' | |
# Inserts a blank line between shell prompts | |
add_newline = false | |
# Disable the package module, hiding it from the prompt completely | |
[package] | |
disabled = true | |
# my config | |
[cmd_duration] | |
min_time = 100 | |
format = 'took [$duration](bold green) ' | |
[directory] | |
truncation_length = 150 | |
truncation_symbol = '.../' | |
[direnv] | |
disabled = false | |
[git_branch] | |
format = '[$symbol$branch]($style) ' | |
[git_commit] | |
style = 'bold yellow' | |
commit_hash_length = 10 | |
tag_symbol = '🔖 ' | |
tag_disabled = false | |
[git_state] | |
# nil | |
[git_status] | |
# Show the info relative to the upstream first: how many commits ahead/behind/diverged/conflicted | |
# Show the info for current working set after: deleted, staged, renamed, modified, untracked. | |
format = "$ahead$behind$diverged$conflicted$deleted$staged$renamed$modified$untracked" | |
conflicted = "[≠ $count ](bold purple)" | |
ahead = "[⇡ $count ](bold purple)" | |
behind = "[⇣ $count ](bold purple)" | |
diverged = "[⇕ $count ](bold purple)" | |
untracked = "[+ $count ](bold blue)" | |
modified = "[~ $count ](bold cyan)" | |
staged = "[++ $count ](bold green)" | |
renamed = "[» $count ](bold white)" | |
deleted = "[✘ $count ](bold red)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment