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