Compare commits
2 Commits
bf72854417
...
b887e133d3
Author | SHA1 | Date |
---|---|---|
Thomas Forgione | b887e133d3 | |
Thomas Forgione | 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