62 lines
1.0 KiB
TOML
62 lines
1.0 KiB
TOML
format = """
|
||
$nix_shell\
|
||
$username\
|
||
$hostname\
|
||
$directory\
|
||
$git_branch\
|
||
$git_state\
|
||
$git_status\
|
||
$line_break\
|
||
$python\
|
||
$character"""
|
||
|
||
add_newline = false
|
||
|
||
#[line_break]
|
||
#disabled = true
|
||
|
||
[username]
|
||
format = "[$user]($style) "
|
||
|
||
[hostname]
|
||
format = "@ [$hostname]($style) "
|
||
|
||
[directory]
|
||
read_only = ' '
|
||
style = "blue"
|
||
truncate_to_repo = false
|
||
|
||
[character]
|
||
success_symbol = "[](purple)"
|
||
error_symbol = "[](red)"
|
||
vimcmd_symbol = "[](green)"
|
||
|
||
[git_branch]
|
||
format = "[$branch]($style)"
|
||
style = "bright-black"
|
||
|
||
[git_status]
|
||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
||
style = "cyan"
|
||
conflicted = ""
|
||
untracked = ""
|
||
modified = ""
|
||
staged = ""
|
||
renamed = ""
|
||
deleted = ""
|
||
stashed = "≡ "
|
||
ahead = "⇡ "
|
||
behind = "⇣ "
|
||
|
||
[git_state]
|
||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
||
style = "bright-black"
|
||
|
||
[cmd_duration]
|
||
format = "[$duration]($style) "
|
||
style = "yellow"
|
||
|
||
[python]
|
||
format = "[$virtualenv]($style) "
|
||
style = "bright-black"
|