update startship config
This commit is contained in:
parent
0514b95a66
commit
616b9965b6
1 changed files with 7 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ add_newline = false
|
||||||
#format = '[░▒▓](fg:purple bg:transparent)[ ${user}](fg:black bg:purple)'
|
#format = '[░▒▓](fg:purple bg:transparent)[ ${user}](fg:black bg:purple)'
|
||||||
format = """[░▒▓](fg:purple bg:transparent)\
|
format = """[░▒▓](fg:purple bg:transparent)\
|
||||||
$time\
|
$time\
|
||||||
|
${custom.ssh}\
|
||||||
$sudo\
|
$sudo\
|
||||||
$username\
|
$username\
|
||||||
${custom.hostname}\
|
${custom.hostname}\
|
||||||
|
|
@ -67,7 +68,7 @@ format = '[ \[$time\]]($style)'
|
||||||
|
|
||||||
[hostname]
|
[hostname]
|
||||||
ssh_only = false
|
ssh_only = false
|
||||||
#trim_at =
|
#trim_at =
|
||||||
ssh_symbol = '\[\]'
|
ssh_symbol = '\[\]'
|
||||||
aliases = { "pogmommy" = "", "penelope" = "" }
|
aliases = { "pogmommy" = "", "penelope" = "" }
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
@ -79,6 +80,11 @@ when = true
|
||||||
style = 'bold bg:black fg:purple'
|
style = 'bold bg:black fg:purple'
|
||||||
format = '[ ](fg:red bg:black)[$symbol($output )]($style)[](fg:black bg:transparent)'
|
format = '[ ](fg:red bg:black)[$symbol($output )]($style)[](fg:black bg:transparent)'
|
||||||
|
|
||||||
|
[custom.ssh]
|
||||||
|
style = 'bold bg:purple fg:black'
|
||||||
|
when = 'test -n "${SSH_CLIENT}"'
|
||||||
|
format = '[ ]($style)'
|
||||||
|
|
||||||
[character]
|
[character]
|
||||||
success_symbol = '[\$](green)'
|
success_symbol = '[\$](green)'
|
||||||
error_symbol = '[\$](red)'
|
error_symbol = '[\$](red)'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue