Add hostname to starship config

This commit is contained in:
Gnarwhal 2025-07-06 16:46:34 +00:00
parent 89d6e557fa
commit 8ab7a67007
Signed by: Gnarwhal
GPG key ID: B9B7561C0C90884D

View file

@ -4,6 +4,8 @@ format = """
[](red)\ [](red)\
$os\ $os\
$username\ $username\
$hostname\
[ ](bg:red fg:crust)\
[](bg:peach fg:red)\ [](bg:peach fg:red)\
$directory\ $directory\
[](bg:yellow fg:peach)\ [](bg:yellow fg:peach)\
@ -65,6 +67,11 @@ style_user = "bg:red fg:crust"
style_root = "bg:red fg:crust" style_root = "bg:red fg:crust"
format = '[ $user]($style)' format = '[ $user]($style)'
[hostname]
disabled = false
trim_at = ''
format = '[@$hostname](bg:red fg:crust)'
[directory] [directory]
style = "bg:peach fg:crust" style = "bg:peach fg:crust"
format = "[ $path ]($style)" format = "[ $path ]($style)"