42 lines
845 B
TOML
42 lines
845 B
TOML
add_newline = true
|
|
|
|
format = """
|
|
$username@$hostname $directory $git_branch $git_status $git_state $git_metrics $git_commit
|
|
$character"""
|
|
|
|
right_format = "$cmd_duration"
|
|
|
|
[character]
|
|
error_symbol = "[✗](bold red)"
|
|
|
|
[cmd_duration]
|
|
format = "took [$duration]($style) "
|
|
|
|
[directory]
|
|
format = "[$path]($style)[$read_only]($read_only_style)"
|
|
read_only = " 🔒"
|
|
|
|
[git_branch]
|
|
format = "on [$symbol$branch]($style)"
|
|
|
|
[git_commit]
|
|
format = "[\\($hash$tag\\)]($style)"
|
|
tag_disabled = false
|
|
|
|
[git_state]
|
|
format = '\([$state($progress_current/$progress_total)]($style)\)'
|
|
|
|
[git_metrics]
|
|
disabled = false
|
|
format = '([+$added]($added_style))([-$deleted]($deleted_style))'
|
|
|
|
[git_status]
|
|
format = '([\[$all_status$ahead_behind\]]($style))'
|
|
|
|
[hostname]
|
|
ssh_only = false
|
|
format= "[$hostname]($style)"
|
|
|
|
[username]
|
|
show_always = true
|
|
format = "[$user]($style)"
|