Reorganize modules in starship and fix toolbox

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2021-03-04 17:14:54 +01:00
parent ac62b999f3
commit d5646249b8
No known key found for this signature in database
GPG key ID: DE0CF444096A468D

View file

@ -1,7 +1,7 @@
add_newline = false add_newline = false
format = """${custom.toolbox}\ format = """$username\
$username\
$hostname\ $hostname\
${custom.toolbox}\
$git_branch\ $git_branch\
$git_commit\ $git_commit\
$git_state\ $git_state\
@ -35,8 +35,8 @@ format = "[$path]($style)[$read_only]($read_only_style) "
[custom.toolbox] [custom.toolbox]
when = "ls /run/.containerenv" when = "ls /run/.containerenv"
symbol = " " symbol = " "
command = "~/.local/bin/toolbox_name.sh" command = "bash ~/.local/bin/toolbox_name.sh"
format = "[$symbol($output )]($style)" format = "in [$symbol($output )]($style)"
style = "bold purple" style = "bold purple"
[character] [character]