Skip to content

Commit

Permalink
Make bash completion run in non interactive mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Aug 26, 2022
1 parent c072aa8 commit 3f97f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/completion.bash
Expand Up @@ -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
Expand Down

0 comments on commit 3f97f6c

Please sign in to comment.