starship(status): add pipestatus configuration

This commit is contained in:
surtur 2022-11-04 23:19:32 +01:00
parent 610839756c
commit 89beb88127
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -192,11 +192,14 @@ disabled = false
disabled = false disabled = false
style = "red" style = "red"
map_symbol = false map_symbol = false
pipestatus = true
pipestatus_separator = '[| ]($style)'
pipestatus_format = '[($style)$pipestatus]($style)'
symbol = "\\(╯°□°)╯︵ ┻━┻" symbol = "\\(╯°□°)╯︵ ┻━┻"
# pure unicode version # pure unicode version
# format = "(bg:$stylefg:#4169e1)[$symbol $status](bg:$style)(fg:$style) " # format = "(bg:$stylefg:#4169e1)[$symbol $status](bg:$style)(fg:$style) "
# certain symbols of the following rely on nerdfonts # certain symbols of the following rely on nerdfonts
format = "[](fg:$style)[$symbol ](bg:$style)[\ue0b8 $status \ue0ba\ue0b4](bold $style) " format = "[](fg:$style)[$symbol ](bg:$style)[\ue0b8 $status $common_meaning$signal_name$maybe_int \ue0ba\ue0b4](bold $style) "
# ref: # ref:
# https://github.com/starship/starship/discussions/1107#discussioncomment-345147 # https://github.com/starship/starship/discussions/1107#discussioncomment-345147