From 12e38b41883d00a7f4d3f070a9df96c71c76a4b3 Mon Sep 17 00:00:00 2001 From: zegonix Date: Sat, 25 Jan 2025 22:56:57 +0100 Subject: [PATCH] added ssh symbol to starship prompt --- starship/.config/starship.toml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml index 11bba1f..b61dcf5 100755 --- a/starship/.config/starship.toml +++ b/starship/.config/starship.toml @@ -1,7 +1,7 @@ format = """ \n\ -[╭─ ](bold fg:zx_white)[⟨](bold fg:zx_light_magenta)\ -$username\ +[╭─ ](bold fg:zx_white)[⟨](bold fg:zx_light_magenta) \ +$hostname$username \ [//](bold zx_magenta)\ $directory\ [//](bold zx_cyan)\ @@ -42,7 +42,16 @@ disabled = false show_always = true style_user = "fg:zx_white" style_root = "bold fg:zx_white" -format = '[ $user ]($style)' +format = '[$user]($style)' + +[hostname] +disabled = false +ssh_only = false +trim_at = '' +ssh_symbol = '󱘖' +style = "bold fg:zx_white" +format = "[$ssh_symbol ]($style)" + [directory] disabled = false