Normalize IFS

This commit is contained in:
Paul Ouellette
2019-07-02 22:37:09 -04:00
parent 3a0e7a2706
commit 0eac53893b
2 changed files with 7 additions and 0 deletions

View File

@@ -1205,6 +1205,7 @@ end
function Parser:get_bash_complete()
local buf = {([[
_%s() {
local IFS=$' \t\n'
local cur prev cmd opts arg
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"