2023-08-25 16:13:44 +00:00
|
|
|
format = """
|
2023-08-30 13:27:45 +00:00
|
|
|
[ ](bg:#661e00)\
|
2023-08-25 16:13:44 +00:00
|
|
|
$os\
|
|
|
|
$sudo\
|
|
|
|
$username\
|
2023-08-28 11:08:45 +00:00
|
|
|
[](bg:#660200 fg:#661e00)\
|
2023-08-25 16:13:44 +00:00
|
|
|
$hostname\
|
|
|
|
$kubernetes\
|
|
|
|
$helm\
|
2023-08-28 11:08:45 +00:00
|
|
|
[](bg:#800861 fg:#660200)\
|
2023-08-30 13:27:45 +00:00
|
|
|
$devenv\
|
|
|
|
$nix_shell\
|
2023-08-28 11:08:45 +00:00
|
|
|
[](fg:#800861 bg:#25347e)\
|
2023-08-25 16:13:44 +00:00
|
|
|
$git_branch\
|
|
|
|
$git_commit\
|
|
|
|
$git_state\
|
|
|
|
$git_metrics\
|
|
|
|
$git_status\
|
|
|
|
$docker_context\
|
2023-08-28 11:08:45 +00:00
|
|
|
[](fg:#25347e bg:#175480)\
|
2023-08-25 16:13:44 +00:00
|
|
|
$c\
|
|
|
|
$elixir\
|
|
|
|
$elm\
|
|
|
|
$golang\
|
|
|
|
$gradle\
|
|
|
|
$haskell\
|
|
|
|
$java\
|
|
|
|
$julia\
|
|
|
|
$nodejs\
|
|
|
|
$nim\
|
|
|
|
$rust\
|
|
|
|
$scala\
|
|
|
|
$python\
|
2023-08-28 11:08:45 +00:00
|
|
|
[](fg:#175480 bg:#218078)\
|
|
|
|
$fill\
|
2023-08-25 16:13:44 +00:00
|
|
|
$time\
|
2023-08-28 11:08:45 +00:00
|
|
|
[](fg:#218078)
|
2023-08-30 13:27:45 +00:00
|
|
|
[ ](bg:#6d3e80)$directory$character
|
2023-08-25 16:13:44 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
add_newline = true
|
|
|
|
|
|
|
|
# You can also replace your username with a neat symbol like or disable this
|
|
|
|
# and use the os module below
|
|
|
|
[username]
|
|
|
|
show_always = true
|
2023-08-28 11:08:45 +00:00
|
|
|
style_user = "fg:#ccc78e bg:#661e00"
|
|
|
|
style_root = "fg:#ccc78e bg:#661e00"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[$user ]($style)'
|
|
|
|
disabled = false
|
|
|
|
|
|
|
|
# An alternative to the username module which displays a symbol that
|
|
|
|
# represents the current operating system
|
|
|
|
[os]
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#661e00"
|
2023-08-25 16:13:44 +00:00
|
|
|
disabled = true # Disabled by default
|
|
|
|
|
|
|
|
[hostname]
|
|
|
|
ssh_only = false
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#660200"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = "[ $hostname ]($style)"
|
|
|
|
|
|
|
|
[directory]
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#6d3e80"
|
|
|
|
read_only_style = "fg:#red bg:#6d3e80"
|
|
|
|
repo_root_style = "fg:#7386e6 bg:#6d3e80"
|
|
|
|
format = "[ $path$read_only ]($style)"
|
|
|
|
repo_root_format = "[$before_root_path]($before_repo_root_style)[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style)"
|
|
|
|
truncate_to_repo = false
|
|
|
|
truncation_length = 5
|
2023-08-25 16:13:44 +00:00
|
|
|
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 = " "
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#175480"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
|
|
|
|
[elixir]
|
|
|
|
symbol = " "
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#175480"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
|
|
|
|
[elm]
|
|
|
|
symbol = " "
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#175480"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
|
|
|
|
[git_branch]
|
|
|
|
symbol = ""
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#25347e"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol $branch ]($style)'
|
|
|
|
|
|
|
|
[git_status]
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#25347e bold"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[$all_status$ahead_behind ]($style)'
|
|
|
|
|
|
|
|
[golang]
|
|
|
|
symbol = " "
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#175480"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
|
|
|
|
[gradle]
|
|
|
|
symbol = " "
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#175480"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
|
|
|
|
[haskell]
|
|
|
|
symbol = " "
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#175480"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
|
|
|
|
[java]
|
|
|
|
symbol = "☕ "
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#175480"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
|
|
|
|
[julia]
|
|
|
|
symbol = " "
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#175480"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
|
|
|
|
[nodejs]
|
|
|
|
symbol = ""
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#175480"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
|
|
|
|
[nim]
|
|
|
|
symbol = " "
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#175480"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
|
|
|
|
[rust]
|
|
|
|
symbol = ""
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#175480"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
|
|
|
|
[scala]
|
|
|
|
symbol = " "
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#175480"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol ($version) ]($style)'
|
|
|
|
|
|
|
|
[python]
|
|
|
|
symbol = ""
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#175480"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol( $pyenv_prefix)( $version( \($virtualenv\))) ]($style)'
|
|
|
|
|
|
|
|
[time]
|
|
|
|
disabled = false
|
2023-08-28 11:08:45 +00:00
|
|
|
time_format = "%s %T"
|
|
|
|
style = "fg:#ccc78e bg:#218078 bold"
|
|
|
|
format = '[ $time ]($style)'
|
|
|
|
|
|
|
|
[fill]
|
|
|
|
disabled = false
|
|
|
|
style = "fg:#ccc78e bg:#218078"
|
|
|
|
symbol = ' '
|
2023-08-25 16:13:44 +00:00
|
|
|
|
|
|
|
[sudo]
|
2023-08-28 11:08:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#661e00"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[$symbol]($style)'
|
|
|
|
symbol = '🧙'
|
|
|
|
disabled = false
|
|
|
|
|
|
|
|
[nix_shell]
|
|
|
|
disabled = false
|
2023-08-30 13:27:45 +00:00
|
|
|
style = "fg:#ccc78e bg:#800861"
|
2023-08-25 16:13:44 +00:00
|
|
|
format = '[ $symbol via $name ]($style)'
|
2023-08-28 11:08:45 +00:00
|
|
|
|
|
|
|
[character]
|
|
|
|
format = "$symbol "
|
2023-08-30 13:27:45 +00:00
|
|
|
success_symbol = "[](#6d3e80)"
|
|
|
|
error_symbol = "[](#ff0000)"
|
|
|
|
vimcmd_symbol = "[](#00ff00)"
|