Reorganize modules in starship and fix toolbox
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
ac62b999f3
commit
d5646249b8
1 changed files with 4 additions and 4 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue