From a89a6f4cd89813c91bb2d81df973298dcc129bd7 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Mon, 5 Feb 2024 15:51:10 +0100 Subject: [PATCH] Fix bug --- env.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env.nu b/env.nu index 622f3e2..53f4e9e 100644 --- a/env.nu +++ b/env.nu @@ -83,7 +83,7 @@ def create_left_prompt [] { "" } - let sudo_compromised = if not (which ^sudo | get path.0) == "/usr/bin/sudo" { + let sudo_compromised = if not (which sudo | get path.0) == "/usr/bin/sudo" { (ansi red_bold) + " ‹sudo compromised›" + (ansi reset) } else { ""