sync repo
This commit is contained in:
137
home-manager/packages/starship/starship.toml
Normal file
137
home-manager/packages/starship/starship.toml
Normal file
@@ -0,0 +1,137 @@
|
||||
add_newline = true
|
||||
|
||||
|
||||
format = """
|
||||
[](#D52D00)\
|
||||
$username\
|
||||
[](bg:#EF7627 fg:#D52D00)\
|
||||
$directory\
|
||||
[](fg:#EF7627 bg:#FF9A56)\
|
||||
$git_branch\
|
||||
$git_status\
|
||||
[](fg:#FF9A56 bg:#D162A4)\
|
||||
$c\
|
||||
$python\
|
||||
$elixir\
|
||||
$elm\
|
||||
$golang\
|
||||
$haskell\
|
||||
$java\
|
||||
$julia\
|
||||
$nodejs\
|
||||
$nim\
|
||||
$rust\
|
||||
[](fg:#D162A4 bg:#B55690)\
|
||||
$docker_context\
|
||||
[](fg:#B55690 bg:#A30262)\
|
||||
$time\
|
||||
[ ](fg:#A30262)\
|
||||
\n
|
||||
"""
|
||||
|
||||
# Disable the blank line at the start of the prompt
|
||||
# add_newline = false
|
||||
|
||||
# You can also replace your username with a neat symbol like to save some space
|
||||
[username]
|
||||
show_always = true
|
||||
style_user = "bg:#D52D00"
|
||||
style_root = "bg:#D52D00"
|
||||
format = '[$user ]($style)'
|
||||
|
||||
[directory]
|
||||
style = "bg:#EF7627"
|
||||
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 " = " "
|
||||
|
||||
[c]
|
||||
symbol = " "
|
||||
style = "fg:#d3c6aa bg:#D162A4"
|
||||
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
|
||||
|
||||
[docker_context]
|
||||
symbol = " "
|
||||
style = "fg:#666666 bg:#06969a"
|
||||
format = '[[ $symbol $context ](fg:#666666 bg:#06969A)]($style) $path'
|
||||
|
||||
[elixir]
|
||||
symbol = " "
|
||||
style = "fg:#d3c6aa bg:#D162A4"
|
||||
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
|
||||
|
||||
[elm]
|
||||
symbol = " "
|
||||
style = "fg:#d3c6aa bg:#D162A4"
|
||||
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
|
||||
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "fg:#666666 bg:#FF9A56"
|
||||
format = '[[ $symbol $branch ](fg:#666666 bg:#FF9A56)]($style)'
|
||||
|
||||
[git_status]
|
||||
style = "fg:#666666 bg:#FF9A56"
|
||||
format = '[[($all_status$ahead_behind )](fg:#666666 bg:#FF9A56)]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = " "
|
||||
style = "fg:#d3c6aa bg:#D162A4"
|
||||
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
|
||||
|
||||
[haskell]
|
||||
symbol = " "
|
||||
style = "fg:#d3c6aa bg:#D162A4"
|
||||
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
|
||||
|
||||
[java]
|
||||
symbol = " "
|
||||
style = "fg:#d3c6aa bg:#D162A4"
|
||||
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
|
||||
|
||||
[julia]
|
||||
symbol = " "
|
||||
style = "fg:#d3c6aa bg:#D162A4"
|
||||
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
|
||||
|
||||
[nodejs]
|
||||
symbol = ""
|
||||
style = "fg:#d3c6aa bg:#D162A4"
|
||||
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
|
||||
|
||||
[nim]
|
||||
symbol = " "
|
||||
style = "fg:#d3c6aa bg:#D162A4"
|
||||
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "fg:#d3c6aa bg:#D162A4"
|
||||
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
|
||||
|
||||
[ruby]
|
||||
style = "fg:#d3c6aa bg:#D162A4"
|
||||
format = '[[ $symbol ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
|
||||
|
||||
[python]
|
||||
style = "fg:#d3c6aa bg:#D162A4"
|
||||
format = '[[ Py ($version) ](fg:#d3c6aa bg:#D162A4)]($style)'
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
time_format = "%R" # Hour:Minute Format
|
||||
style = "fg:#d3c6aa bg:#A30262"
|
||||
format = '[[ ♥ $time ](bg:#A30262)]($style)'
|
||||
Reference in New Issue
Block a user