From fc8fbbf79eb50f3fbeb0059994ac34cab5485c67 Mon Sep 17 00:00:00 2001 From: Munif Tanjim Date: Fri, 26 Nov 2021 20:11:50 +0600 Subject: [PATCH] update generate-completion --- generate-completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-completion b/generate-completion index 0d35ba5..7f3761c 100755 --- a/generate-completion +++ b/generate-completion @@ -123,7 +123,7 @@ if [[ ${#tools[@]} -eq 0 ]]; then exit 1 fi -if [[ ${shell} = "fish" ]]; then +if [[ ${shell} = "fish" ]] && [[ "${interactive}" = "yes" ]]; then echo "[warn] ${shell} support is experimental!" read -rp "do you want to continue? (yN): " proceed if [[ ${proceed} != "y" ]]; then -- knotmirror 0.0.1