added hostname to starship format

This commit is contained in:
John Lancaster
2026-04-19 14:26:57 -05:00
parent f36bb22635
commit 1278177e4d
+36 -1
View File
@@ -65,7 +65,7 @@ in
lt = "eza --tree";
lla = "eza -la";
ds = "gdu -i /snap /";
lzd = "lazydocker";
ld = "lazydocker";
});
in
(inputs.wrappers.wrapperModules.zsh.apply {
@@ -129,7 +129,42 @@ in
line_break.disabled = false;
git_status.diverged = "\${ahead_count}\${behind_count}";
cmd_duration.format = "󰔛 $duration";
hostname = {
disabled = false;
ssh_symbol = "🌐 ";
format = "[$ssh_symbol$hostname]($style) in ";
style = "bold dimmed green";
};
# python.disabled = true;
format = lib.replaceStrings ["\n"] [""] ''
[](red)
$os
$username
$hostname
[](bg:peach fg:red)
$directory
[](bg:yellow fg:peach)
$git_branch
$git_status
[](fg:yellow bg:green)
$c
$rust
$golang
$nodejs
$php
$java
$kotlin
$haskell
$python
[](fg:green bg:sapphire)
$conda
[](fg:sapphire bg:lavender)
$time
[ ](fg:lavender)
$cmd_duration
$line_break
$character
'';
};
}).wrapper;
};