We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2655810 commit 516a268Copy full SHA for 516a268
Resources/completion.bash
@@ -6,6 +6,16 @@
6
# https://symfony.com/doc/current/contributing/code/license.html
7
8
_sf_{{ COMMAND_NAME }}() {
9
+
10
+ # Use the default completion for shell redirect operators.
11
+ for w in '>' '>>' '&>' '<'; do
12
+ if [[ $w = "${COMP_WORDS[COMP_CWORD-1]}" ]]; then
13
+ compopt -o filenames
14
+ COMPREPLY=($(compgen -f -- "${COMP_WORDS[COMP_CWORD]}"))
15
+ return 0
16
+ fi
17
+ done
18
19
# Use newline as only separator to allow space in completion values
20
IFS=$'\n'
21
local sf_cmd="${COMP_WORDS[0]}"
0 commit comments