From c8eceb68417b7f3b48ce7ddfa59535739a63c5e6 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio <23226432+hyperreal64@users.noreply.github.com> Date: Mon, 18 Mar 2024 21:24:12 -0500 Subject: [PATCH] Fix hostname --- env.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env.nu b/env.nu index 5d7b02b..40c16fd 100644 --- a/env.nu +++ b/env.nu @@ -51,7 +51,7 @@ def is-container [] { } def create_user_host [] { - let user_host = (ansi red) + (whoami) + (ansi reset) + '@' + (ansi blue) + (hostname) + (ansi reset) + let user_host = (ansi red) + (whoami) + (ansi reset) + '@' + (ansi blue) + (sys | get host.hostname) + (ansi reset) let container_segment = (ansi green_bold) + "⬢ " + (ansi reset) let user_host_segment = (if (is-container) { ($container_segment + $user_host) | str join } else { $user_host })