33 lines
634 B
TOML
33 lines
634 B
TOML
add_newline = false
|
|
|
|
format = "$username[@](bold green)$hostname $directory$git_branch$git_status$character"
|
|
right_format = "$cmd_duration$time"
|
|
|
|
[username]
|
|
show_always = true
|
|
format = "[$user](bold yellow)"
|
|
|
|
[hostname]
|
|
ssh_only = false
|
|
format = "[$hostname](bold blue)"
|
|
|
|
[git_branch]
|
|
format = "[$symbol$branch(:$remote_branch)]($style)"
|
|
|
|
[git_status]
|
|
format = "[$all_status]($style) "
|
|
|
|
[character]
|
|
success_symbol = '[➜](bold green)'
|
|
error_symbol = '[✗](bold red)'
|
|
|
|
# right side
|
|
|
|
[cmd_duration]
|
|
min_time = 200
|
|
format = "took [$duration](underline bold yellow) "
|
|
|
|
[time]
|
|
format = "[$time](fg:bold purple)"
|
|
disabled = false
|