Compare commits

..

2 Commits

Author SHA1 Message Date
Thomas Forgione b887e133d3 Merge branch 'master' of gitea.tforgione.fr:tforgione/nushell 2024-02-05 15:51:50 +01:00
Thomas Forgione a89a6f4cd8 Fix bug 2024-02-05 15:51:10 +01:00
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 {
"" ""