Compare commits

..

No commits in common. "b887e133d318191ae4c8a1c4abfb50ea5777fd5c" and "bf7285441785ecf1ae4200a663dbb863b1eef893" have entirely different histories.

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)
} else {
""