Compare commits
No commits in common. "b887e133d318191ae4c8a1c4abfb50ea5777fd5c" and "bf7285441785ecf1ae4200a663dbb863b1eef893" have entirely different histories.
b887e133d3
...
bf72854417
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