From 3f97f6c7b7e26848a90c0c0cfb91eeb2bb8618be Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 26 Aug 2022 15:50:20 +0200 Subject: [PATCH 1/2] Make bash completion run in non interactive mode --- Resources/completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/completion.bash b/Resources/completion.bash index fba46070c..bf3edf511 100644 --- a/Resources/completion.bash +++ b/Resources/completion.bash @@ -24,7 +24,7 @@ _sf_{{ COMMAND_NAME }}() { local cur prev words cword _get_comp_words_by_ref -n := cur prev words cword - local completecmd=("$sf_cmd" "_complete" "-sbash" "-c$cword" "-S{{ VERSION }}") + local completecmd=("$sf_cmd" "_complete" "--no-interaction" "-sbash" "-c$cword" "-S{{ VERSION }}") for w in ${words[@]}; do w=$(printf -- '%b' "$w") # remove quotes from typed values From 1f746b07d86e6808f2bec05565209a6ce4dd65b7 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 2 Sep 2022 12:36:06 +0200 Subject: [PATCH 2/2] [Console] [Completion] Make fish completion run in non interactive mode --- Resources/completion.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/completion.fish b/Resources/completion.fish index 680d180e0..6fd91e4fe 100644 --- a/Resources/completion.fish +++ b/Resources/completion.fish @@ -9,7 +9,7 @@ function _sf_{{ COMMAND_NAME }} set sf_cmd (commandline -o) set c (count (commandline -oc)) - set completecmd "$sf_cmd[1]" "_complete" "-sfish" "-S{{ VERSION }}" + set completecmd "$sf_cmd[1]" "_complete" "--no-interaction" "-sfish" "-S{{ VERSION }}" for i in $sf_cmd if [ $i != "" ] pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy