Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4bdae6f

Browse filesBrowse files
committed
bug #47463 [Console] [Completion] Make fish completion run in non interactive mode (Seldaek)
This PR was merged into the 6.1 branch. Discussion ---------- [Console] [Completion] Make fish completion run in non interactive mode | Q | A | ------------- | --- | Branch? | 6.1 | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> Port #47394 to 6.1 for fish Commits ------- 25ab956 [Console] [Completion] Make fish completion run in non interactive mode
2 parents 3e763df + 25ab956 commit 4bdae6f
Copy full SHA for 4bdae6f

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Resources/completion.fish
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function _sf_{{ COMMAND_NAME }}
99
set sf_cmd (commandline -o)
1010
set c (count (commandline -oc))
1111

12-
set completecmd "$sf_cmd[1]" "_complete" "-sfish" "-S{{ VERSION }}"
12+
set completecmd "$sf_cmd[1]" "_complete" "--no-interaction" "-sfish" "-S{{ VERSION }}"
1313

1414
for i in $sf_cmd
1515
if [ $i != "" ]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.