8000 [Console] [Completion] Make zsh completion run in non interactive mode · symfony/symfony@4e5add4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e5add4

Browse files
authored
[Console] [Completion] Make zsh completion run in non interactive mode
1 parent 0ca5051 commit 4e5add4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Resources/completion.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ _sf_{{ COMMAND_NAME }}() {
3131
fi
3232

3333
# Prepare the command to obtain completions
34-
requestComp="${words[0]} ${words[1]} _complete -szsh -a{{ VERSION }} -c$((CURRENT-1))" i=""
34+
requestComp="${words[0]} ${words[1]} _complete --no-interaction -szsh -a{{ VERSION }} -c$((CURRENT-1))" i=""
3535
for w in ${words[@]}; do
3636
w=$(printf -- '%b' "$w")
3737
# remove quotes from typed values

0 commit comments

Comments
 (0)
0