2024-07-27 13:47:10 +00:00
|
|
|
|
# Marc's env managed block - BEGIN
|
|
|
|
|
|
2024-02-16 06:18:37 +00:00
|
|
|
|
format = """
|
2024-07-27 13:47:10 +00:00
|
|
|
|
[┌─](bold green) ☠️ \
|
2024-02-16 06:18:37 +00:00
|
|
|
|
[](#9A348E)\
|
2024-07-27 13:47:10 +00:00
|
|
|
|
$username$hostname\
|
2024-02-16 06:18:37 +00:00
|
|
|
|
$os\
|
|
|
|
|
[](bg:#33658a fg:#9A348E)\
|
|
|
|
|
$time\
|
|
|
|
|
[](bg:#DA627D fg:#33658a)\
|
|
|
|
|
$directory\
|
|
|
|
|
[](fg:#DA627D bg:#3208e0)\
|
|
|
|
|
$git_branch\
|
|
|
|
|
$git_status\
|
|
|
|
|
[](fg:#4208e0 bg:#9A348E)\
|
|
|
|
|
$python\
|
2024-07-27 13:47:10 +00:00
|
|
|
|
[](fg:#9A348E)
|
|
|
|
|
[└─ ](bold green)
|
2024-02-16 06:18:37 +00:00
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
# Disable the blank line at the start of the prompt
|
2024-07-27 13:47:10 +00:00
|
|
|
|
add_newline = false
|
2024-02-16 06:18:37 +00:00
|
|
|
|
|
|
|
|
|
[python]
|
|
|
|
|
style = "bg:#9A348E"
|
|
|
|
|
format = '[${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 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"
|
2024-07-27 13:47:10 +00:00
|
|
|
|
format = '[$user]($style)'
|
2024-02-16 06:18:37 +00:00
|
|
|
|
disabled = false
|
|
|
|
|
|
2024-07-27 13:47:10 +00:00
|
|
|
|
[hostname]
|
|
|
|
|
format = '[@$hostname ]($style)'
|
|
|
|
|
style = "bg:#9A348E"
|
|
|
|
|
ssh_only = false
|
|
|
|
|
|
2024-02-16 06:18:37 +00:00
|
|
|
|
# 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 = "…/"
|
|
|
|
|
|
|
|
|
|
# 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 " = " "
|
|
|
|
|
|
|
|
|
|
[git_branch]
|
|
|
|
|
symbol = ""
|
|
|
|
|
style = "bg:#4208e0"
|
|
|
|
|
format = '[ $symbol $branch ]($style)'
|
|
|
|
|
|
|
|
|
|
[git_status]
|
|
|
|
|
style = "bg:#4208e0"
|
|
|
|
|
format = '[$all_status$ahead_behind ]($style)'
|
|
|
|
|
|
|
|
|
|
[time]
|
|
|
|
|
time_format = "%T"
|
|
|
|
|
style = "bg:#33658A"
|
|
|
|
|
format = '[ $time ]($style)'
|
|
|
|
|
disabled = false
|
2024-07-27 13:47:10 +00:00
|
|
|
|
# Marc's env managed block - END
|