From 7fc58fa9d89f293945f9362d804265f22e19686d Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Wed, 25 Jun 2025 14:05:24 -0500 Subject: [PATCH 1/2] Cleanup `user@host` formatting on prompt --- homes/common.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homes/common.nix b/homes/common.nix index de9f4a0..b9675fa 100644 --- a/homes/common.nix +++ b/homes/common.nix @@ -173,6 +173,7 @@ in { # Remove trailing space from format string format = "([\\[$all_status$ahead_behind\\]]($style))"; }; + hostname = { format = "[$hostname]($style)"; }; shell = { # Show which shell if not using zsh (the default) disabled = false; @@ -190,6 +191,7 @@ in { Macos = ""; }; }; + username = { format = "[$user]($style)"; }; }; }; From 91c01f288c1cd6eda3aa946eb5772b8b405d15ac Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Wed, 25 Jun 2025 16:12:14 -0500 Subject: [PATCH 2/2] Update spacing on OS icon --- homes/common.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homes/common.nix b/homes/common.nix index b9675fa..24902c3 100644 --- a/homes/common.nix +++ b/homes/common.nix @@ -152,7 +152,8 @@ in { add_newline = false; format = lib.concatStrings [ "$os" - "$container" + " " + "($container )" "\\[" "([$username](bold yellow)@[$hostname](bold red))" "[$directory](cyan)"