8000 Merge pull request #514 from tucksaun/fix/bash-completion-side-effect · symfony-cli/symfony-cli@37bdf46 · GitHub
[go: up one dir, main page]

Skip to content

Commit 37bdf46

Browse files
authored
Merge pull request #514 from tucksaun/fix/bash-completion-side-effect
fix: bash side-effects from bash completions
2 parents 7c4fca5 + 6355163 commit 37bdf46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/resources/completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ _complete_{{ .App.HelpName }}() {
4646
done
4747

4848
# Use newline as only separator to allow space in completion values
49-
IFS=$'\n'
49+
local IFS=$'\n'
5050

5151
local cur prev words cword
5252
_get_comp_words_by_ref -n := cur prev words cword

0 commit comments

Comments
 (0)
0