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 { ""