2020-11-14 14:53:35 +01:00
|
|
|
add_newline = false
|
|
|
|
format = """$username\
|
|
|
|
$hostname\
|
|
|
|
$git_branch\
|
|
|
|
$git_commit\
|
|
|
|
$git_state\
|
|
|
|
$git_status\
|
|
|
|
$cmd_duration\
|
|
|
|
$jobs\
|
|
|
|
$time\
|
|
|
|
$line_break\
|
|
|
|
$directory\
|
|
|
|
$character"""
|
|
|
|
|
2020-10-11 15:09:15 +02:00
|
|
|
[username]
|
2020-11-14 14:53:35 +01:00
|
|
|
format = "[$user]($style)@"
|
2020-10-11 15:09:15 +02:00
|
|
|
show_always = true
|
|
|
|
|
|
|
|
[hostname]
|
2020-11-14 14:53:35 +01:00
|
|
|
format = "[$hostname]($style) "
|
2020-10-11 15:09:15 +02:00
|
|
|
ssh_only = false
|
|
|
|
|
2020-11-14 14:53:35 +01:00
|
|
|
[cmd_duration]
|
|
|
|
format = "\\(took [$duration]($style)\\) "
|
|
|
|
|
2020-10-11 15:09:15 +02:00
|
|
|
[time]
|
2020-11-14 14:53:35 +01:00
|
|
|
disabled = false
|
|
|
|
format = "at [$time]($style) "
|
|
|
|
|
|
|
|
[directory]
|
|
|
|
format = "[$path]($style)[$read_only]($read_only_style) "
|
|
|
|
|
|
|
|
[character]
|
|
|
|
success_symbol = "[%%](bold green)"
|
2021-01-25 12:19:56 +01:00
|
|
|
error_symbol = "[%%](bold red)"
|