diff --git a/nu/hermenix.nu b/nu/hermenix.nu index bbba0db..f4f1232 100644 --- a/nu/hermenix.nu +++ b/nu/hermenix.nu @@ -31,7 +31,7 @@ def ask [prompt: string, default: string = ""] { def confirm [prompt: string] { let reply = (input $" ($prompt) [y/N] ") - ($reply | str downcase | str starts-with "y") + (($reply | str starts-with "y") or ($reply | str starts-with "Y")) } def confirm-word [word: string, prompt: string] {