From a6934118afcf4220f7250b981f5f2c54766cebc0 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 26 May 2020 18:08:18 +0300 Subject: [PATCH] kiss: Change KISS_NOPROMPT to KISS_PROMPT --- kiss | 2 +- kiss.1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kiss b/kiss index 908fe5e..2e2caf1 100755 --- a/kiss +++ b/kiss @@ -47,7 +47,7 @@ prompt() { # POSIX 'read' has none of the "nice" options like '-n', '-p' # etc etc. This is the most basic usage of 'read'. # '_' is used as 'dash' errors when no variable is given to 'read'. - [ "$KISS_NOPROMPT" = 1 ] || read -r _ + [ "$KISS_PROMPT" = 0 ] || read -r _ } as_root() { diff --git a/kiss.1 b/kiss.1 index b607078..0aa3b75 100644 --- a/kiss.1 +++ b/kiss.1 @@ -112,8 +112,8 @@ export KISS_KEEPLOG=0 # Automatically say 'yes' to all prompts in the package manager. # This is handy for scripting purposes. # -# Set it to '1' to enable. -export KISS_NOPROMPT=0 +# Set it to '0' to say 'yes' to all prompts. +export KISS_PROMPT=1 # Compression method to use for package tarballs. #