Update starship configuration

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2020-11-14 14:53:35 +01:00
parent 16692b1909
commit a5afe347f2
No known key found for this signature in database
GPG key ID: DE0CF444096A468D

View file

@ -1,8 +1,35 @@
add_newline = false
format = """$username\
$hostname\
$git_branch\
$git_commit\
$git_state\
$git_status\
$cmd_duration\
$jobs\
$time\
$line_break\
$directory\
$character"""
[username]
format = "[$user]($style)@"
show_always = true
[hostname]
format = "[$hostname]($style) "
ssh_only = false
[cmd_duration]
format = "\\(took [$duration]($style)\\) "
[time]
disabled = false
disabled = false
format = "at [$time]($style) "
[directory]
format = "[$path]($style)[$read_only]($read_only_style) "
[character]
success_symbol = "[%%](bold green)"
error_symbol = "[%%](bold red)"