This commit is contained in:
Thomas Forgione 2024-02-05 15:51:10 +01:00
parent e31d0c2fea
commit a89a6f4cd8
1 changed files with 1 additions and 1 deletions

2
env.nu
View File

@ -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) (ansi red_bold) + " sudo compromised" + (ansi reset)
} else { } else {
"" ""