diff options
| author | Robert Günzler <r@gnzler.io> | 2021-11-08 02:51:59 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2021-11-08 02:51:59 +0100 |
| commit | f41815dcd3c90eea41f5d5e9f28c3e78023b6306 (patch) | |
| tree | f9fd191a7b3fe7187f371a19284b6411cce23a65 | |
| parent | bea152b0100f4f081fe8a1ccec391ad94b2352ac (diff) | |
starship: cleanup
Diffstat (limited to '')
| -rw-r--r-- | .config/starship.toml | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/.config/starship.toml b/.config/starship.toml index 9ea4175..2b32318 100644 --- a/.config/starship.toml +++ b/.config/starship.toml @@ -2,31 +2,21 @@ format = """ ⋮ \ $username\ $hostname\ -$shlvl\ -$kubernetes\ $directory\ +\ $git_branch\ $git_commit\ $git_state\ -$memory_usage\ -$env_var\ -$custom\ -$cmd_duration\ +\ $jobs\ -$time\ -$status\ +$shlvl\ +${custom.toolbox}\ +\ $character\ """ add_newline = false - -[character] -success_symbol = "❯" - -[directory] -truncation_length = 0 -truncate_to_repo = false -style = "bright-yellow" +command_timeout = 100 [username] format = "[$user@]($style)" @@ -36,6 +26,11 @@ style_user = "dimmed" format = "[$hostname]($style) " style = "dimmed" +[directory] +truncation_length = 0 +truncate_to_repo = false +style = "bright-yellow" + [git_branch] format = "[$symbol$branch]($style) " disabled = false @@ -43,12 +38,17 @@ disabled = false [jobs] symbol = "∆" -[cmd_duration] -format = "[$duration]($style) " -style = "" -min_time = 60_000 -# disabled = true - [shlvl] symbol = "☰" disabled = false + +[custom.toolbox] +symbol = "⬢ " +style = "bright-blue" +format = "[$symbol]($style)" +when = """ test -f /run/.containerenv && test -f /run/.toolboxenv """ + +[character] +format = "$symbol " +success_symbol = "[❯](bold white)" +error_symbol = "[❯](bold red)" |