Adds hostname to zsh prompt when ssh

This commit is contained in:
2024-04-24 20:55:57 -04:00
parent 3f91ec849d
commit 3c172a4597

View File

@@ -4,6 +4,7 @@ format = """
[](color_orange)\
$os\
$username\
$hostname\
[](bg:color_pink fg:color_orange)\
$directory\
[](fg:color_pink bg:color_lavender)\
@@ -76,6 +77,11 @@ style_user = "bold bg:color_orange fg:color_grey"
style_root = "bold bg:color_orange fg:color_grey"
format = '[ $user ]($style)'
[hostname]
ssh_only = true
format = '[$ssh_symbol](bold blue) on [$hostname](bold red)'
disabled = false
[directory]
style = "bold fg:color_grey bg:color_pink"
format = "[ $path ]($style)"