Fix bug
This commit is contained in:
parent
e31d0c2fea
commit
a89a6f4cd8
2
env.nu
2
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)
|
(ansi red_bold) + " ‹sudo compromised›" + (ansi reset)
|
||||||
} else {
|
} else {
|
||||||
""
|
""
|
||||||
|
|
Loading…
Reference in New Issue