Last active
March 20, 2025 04:38
-
-
Save dieseltravis/40ee6a4b906138de89270c3c56c3bd1f to your computer and use it in GitHub Desktop.
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 = """ | |
[](#DA627D)\ | |
$directory\ | |
[](fg:#DA627D bg:#DC815D)\ | |
$git_branch\ | |
$git_status\ | |
[](fg:#DC815D bg:#76ABC8)\ | |
$c\ | |
$cmake\ | |
$dotnet\ | |
$golang\ | |
$java\ | |
$nix_shell\ | |
$nodejs\ | |
$perl\ | |
$php\ | |
$python\ | |
$ruby\ | |
$rust\ | |
$package\ | |
[](fg:#76ABC8 bg:#06969A)\ | |
$docker_context\ | |
[](fg:#06969A bg:#33658A)\ | |
$time\ | |
$cmd_duration\ | |
[](fg:#33658A)\ | |
$line_break\ | |
$sudo\ | |
$status\ | |
$character\ | |
""" | |
command_timeout = 5000 | |
# A continuation prompt that displays two filled in arrows | |
continuation_prompt = "▶▶" | |
# Disable the blank line at the start of the prompt | |
# add_newline = false | |
# You can also replace your username with a neat symbol like or disable this | |
# and use the os module below | |
[username] | |
show_always = true | |
style_user = "bg:#9A348E" | |
style_root = "bg:#9A348E" | |
format = '[$user ]($style)' | |
disabled = false | |
[hostname] | |
ssh_only = false | |
format = "[@$hostname](bg:#9A348E)" | |
#trim_at = ".companyname.com" | |
disabled = false | |
ssh_symbol = " " | |
# An alternative to the username module which displays a symbol that | |
# represents the current operating system | |
[os] | |
style = "bg:#9A348E" | |
disabled = true # Disabled by default | |
[directory] | |
style = "bg:#DA627D" | |
format = "[ $path ]($style)" | |
truncation_length = 3 | |
truncation_symbol = "…/" | |
read_only = " " | |
# Here is how you can shorten some long paths by text replacement | |
# similar to mapped_locations in Oh My Posh: | |
[directory.substitutions] | |
"Documents" = "" | |
"Downloads" = "" | |
"Music" = "" | |
"Pictures" = "" | |
"Projects" = "" | |
# Keep in mind that the order matters. For example: | |
# "Important Documents" = " " | |
# will not be replaced, because "Documents" was already substituted before. | |
# So either put "Important Documents" before "Documents" or use the substituted version: | |
# "Important " = " " | |
[git_branch] | |
symbol = "" | |
style = "bg:#DC815D" | |
format = '[ $symbol $branch ]($style)' | |
[git_commit] | |
tag_symbol = '' | |
[git_status] | |
style = "bg:#DC815D" | |
format = '[$all_status$ahead_behind ]($style)' | |
[c] | |
symbol = "" | |
style = "bg:#76ABC8" | |
format = '[ $symbol($version(-$name)) ]($style)' | |
[cmake] | |
symbol = "" | |
style = "bg:#76ABC8" | |
format = '[ $symbol($version) ]($style)' | |
[dotnet] | |
symbol = "" | |
style = "bg:#76ABC8" | |
format = '[ $symbol($version )(🎯 $tfm ) ]($style)' | |
[golang] | |
symbol = "" | |
style = "bg:#76ABC8" | |
format = '[ $symbol($version) ]($style)' | |
[java] | |
symbol = "" | |
style = "bg:#76ABC8" | |
format = '[ $symbol($version) ]($style)' | |
[kotlin] | |
symbol = "" | |
style = "bg:#76ABC8" | |
format = '[ $symbo($version) ]($style)' | |
[lua] | |
symbol = "" | |
style = "bg:#76ABC8" | |
format = '[ $symbol($version) ]($style)' | |
[nodejs] | |
symbol = "" | |
style = "bg:#76ABC8" | |
format = '[ $symbol($version) ]($style)' | |
[perl] | |
symbol = "" | |
style = "bg:#76ABC8" | |
format = '[ $symbol($version) ]($style)' | |
[php] | |
symbol = "" | |
style = "bg:#76ABC8" | |
format = '[ $symbol($version) ]($style)' | |
[python] | |
symbol = "" | |
style = "bg:#76ABC8" | |
format = '[ $symbol${pyenv_prefix}($version )(\($virtualenv\) )]($style)' | |
[ruby] | |
symbol = "" | |
style = "bg:#76ABC8" | |
format = '[ $symbol($version) ]($style)' | |
[rust] | |
symbol = "" | |
style = "bg:#76ABC8" | |
format = '[ $symbol($version) ]($style)' | |
[package] | |
symbol = "" | |
style = "bg:#6699BB" | |
format = '[](fg:#76ABC8 bg:#6699BB)[ $symbol $version ]($style)[](bg:#76ABC8 fg:#6699BB)' | |
display_private = true | |
disabled = false | |
[docker_context] | |
symbol = "" | |
style = "bg:#06969A" | |
format = '[ $symbol $context ]($style)' | |
[time] | |
disabled = false | |
time_format = "%R" # Hour:Minute Format | |
style = "bg:#33658A" | |
format = '[ $time ]($style)' | |
[cmd_duration] | |
min_time = 500 | |
show_milliseconds = true | |
format = "[[$duration](italic bg:#33658A fg:#86D8D8)]($style)" | |
[sudo] | |
#style = "bold green" | |
#symbol = "👩💻 " | |
# disable to prevent these warnings: | |
#[WARN] - (starship::utils): Executing command " /usr/bin/sudo " timed out. | |
#[WARN] - (starship::utils): You can set command_timeout in your config to a higher value to allow longer-running commands to keep executing. | |
disabled = true | |
format = "[$symbol]($style)" | |
[status] | |
map_symbol = true | |
disabled = false | |
format = '[ $symbol $common_meaning$signal_name$maybe_int ]($style)' | |
#[character] | |
#success_symbol = "[[➜](bold green)]($style)" | |
#error_symbol = "[[✗](bold red)]($style)" |
Author
dieseltravis
commented
Mar 20, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment