8000 Update src/Symfony/Component/Console/Resources/completion.fish · symfony/symfony@74cf373 · GitHub
[go: up one dir, main page]

Skip to content

Commit 74cf373

Browse files
guillaume-awouterj
andauthored
Update src/Symfony/Component/Console/Resources/completion.fish
Co-authored-by: Wouter de Jong <wouterj@users.noreply.github.com>
1 parent 5335026 commit 74cf373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
# https://symfony.com/doc/current/contributing/code/license.html
77

88
function _sf_{{ COMMAND_NAME }}
9-
set sf_cmd (string split ' ' (commandline -c))
10-
set c (math (count (commandline -o))) - 1)
9+
set sf_cmd (commandline -o)
10+
set c (math (count (commandline -oc))) - 1)
1111

1212
set completecmd "$sf_cmd[1]" "_complete" "-sfish" "-S{{ VERSION }}"
1313

0 commit comments

Comments
 (0)
0