From cca409474d15dfaf9170b0595686bc5b9b521dd0 Mon Sep 17 00:00:00 2001 From: Patrick Dawkins Date: Wed, 26 Oct 2022 10:50:40 +0100 Subject: [PATCH] Fix autocompletion hook for program paths containing spaces --- src/Command/Self/SelfInstallCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Command/Self/SelfInstallCommand.php b/src/Command/Self/SelfInstallCommand.php index b61ff601c3..8206298421 100644 --- a/src/Command/Self/SelfInstallCommand.php +++ b/src/Command/Self/SelfInstallCommand.php @@ -101,8 +101,9 @@ protected function execute(InputInterface $input, OutputInterface $output) $this->stdErr->write('Setting up autocompletion...'); try { $args = [ - '--generate-hook' => true, '--program' => $this->config()->get('application.executable'), + '--generate-hook' => true, + '--multiple' => true, ]; if ($shellType) { $args['--shell-type'] = $shellType;