Skip to content

Commit 5456645

Browse files
Seldaeknicolas-grekas
authored andcommitted
[Console] Fix side-effects from running bash completions
1 parent f3e0c81 commit 5456645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
_sf_{{ COMMAND_NAME }}() {
99
# Use newline as only separator to allow space in completion values
10-
IFS=$'\n'
10+
local IFS=$'\n'
1111
local sf_cmd="${COMP_WORDS[0]}"
1212

1313
# for an alias, get the real script behind it

0 commit comments

Comments
 (0)