8000 Make bash completion run in non interactive mode · symfony/console@3f97f6c · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f97f6c

Browse files
authored
Make bash completion run in non interactive mode
1 parent c072aa8 commit 3f97f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ _sf_{{ COMMAND_NAME }}() {
2424
local cur prev words cword
2525
_get_comp_words_by_ref -n := cur prev words cword
2626

27-
local completecmd=("$sf_cmd" "_complete" "-sbash" "-c$cword" "-S{{ VERSION }}")
27+
local completecmd=("$sf_cmd" "_complete" "--no-interaction" "-sbash" "-c$cword" "-S{{ VERSION }}")
2828
for w in ${words[@]}; do
2929
w=$(printf -- '%b' "$w")
3030
# remove quotes from typed values

0 commit comments

Comments
 (0)
0