Initial Release
This commit is contained in:
+126
@@ -0,0 +1,126 @@
|
||||
format = """
|
||||
$env_var\
|
||||
[](fg:white)\
|
||||
$username\
|
||||
$hostname\
|
||||
[](fg:black bg:#6D8DD1)\
|
||||
$directory\
|
||||
[](fg:#6D8DD1 bg:#47CB6B)\
|
||||
$git_branch\
|
||||
$git_state\
|
||||
$git_status\
|
||||
$git_metrics\
|
||||
[](fg:#86BBD8 bg:#33658A)\
|
||||
$docker_context\
|
||||
[](fg:#33658A bg:black)\
|
||||
$fill\
|
||||
[](fg:#33658A bg:black)\
|
||||
$jobs\
|
||||
[](fg:yellow bg:#33658A)\
|
||||
$cmd_duration\
|
||||
[](fg:#47CB6B bg:yellow)\
|
||||
$memory_usage\
|
||||
[](fg:white bg:#47CB6B)\
|
||||
$time\
|
||||
[ ](fg:white)\
|
||||
$line_break\
|
||||
$character"""
|
||||
|
||||
# Disable the blank line at the start of the prompt
|
||||
# add_newline = false
|
||||
|
||||
[fill]
|
||||
symbol = " "
|
||||
|
||||
[character]
|
||||
success_symbol = "[❯](purple)"
|
||||
error_symbol = "[❯](red)"
|
||||
vicmd_symbol = "[❮](green)"
|
||||
|
||||
# You can also replace your username with a neat symbol like to save some space
|
||||
[username]
|
||||
show_always = false
|
||||
style_user = "fg:yellow bg:black"
|
||||
style_root = "fg:#CE4B4E bg:black"
|
||||
format = '[ $user]($style)'
|
||||
|
||||
[hostname]
|
||||
ssh_only = true
|
||||
ssh_symbol = ""
|
||||
format = "[@](fg:yellow bg:black)[$hostname](fg:yellow bg:black) [$ssh_symbol ](fg:yellow bg:black)"
|
||||
trim_at = ".companyname.com"
|
||||
disabled = false
|
||||
|
||||
[env_var.STARSHIP_DISTRO]
|
||||
format = '[ $env_value ](fg:black bg:white)'
|
||||
variable = "STARSHIP_DISTRO"
|
||||
disabled = false
|
||||
|
||||
[directory]
|
||||
style = "bg:#6D8DD1"
|
||||
read_only = " "
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
|
||||
# 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" = " "
|
||||
"~" = " ~"
|
||||
# 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 " = " "
|
||||
|
||||
[docker_context]
|
||||
symbol = " "
|
||||
style = "bg:#06969A"
|
||||
format = '[ $symbol $context ]($style) $path'
|
||||
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "fg:black bg:#47CB6B"
|
||||
format = '[ $symbol $branch ]($style)'
|
||||
|
||||
[git_status]
|
||||
style = "fg:black bg:#47CB6B"
|
||||
format = '[$all_status$ahead_behind]($style)'
|
||||
ahead = "⇡${count}"
|
||||
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
||||
behind = "⇣${count}"
|
||||
|
||||
[git_state]
|
||||
style = "fg:black bg:#47CB6B"
|
||||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
||||
#style = "bright-black"
|
||||
|
||||
[git_metrics]
|
||||
disabled = false
|
||||
|
||||
[cmd_duration]
|
||||
format = "[ took $duration ](fg:black bg:yellow)"
|
||||
style = "gb:yellow"
|
||||
|
||||
[jobs]
|
||||
symbol = ""
|
||||
number_threshold = 1
|
||||
format = "[ $symbol ](fg:bold red bg:#33658A)"
|
||||
style = "bg:33658A"
|
||||
|
||||
[memory_usage]
|
||||
disabled = false
|
||||
threshold = -1
|
||||
symbol = ""
|
||||
style = "fg:black bg:#47CB6B"
|
||||
format = "[ ${ram_pct} $symbol ]($style)"
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
time_format = "%R" # Hour:Minute Format
|
||||
format = '[](fg:white)[ $time ](fg:black bg:white)'
|
||||
|
||||
Reference in New Issue
Block a user