diff --git a/playbooks/roles/shell/templates/starship.toml.j2 b/playbooks/roles/shell/templates/starship.toml.j2 index 78bd759..39bb0aa 100644 --- a/playbooks/roles/shell/templates/starship.toml.j2 +++ b/playbooks/roles/shell/templates/starship.toml.j2 @@ -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]