summaryrefslogtreecommitdiffstats
path: root/composer-bash-completion
diff options
context:
space:
mode:
Diffstat (limited to 'composer-bash-completion')
-rw-r--r--composer-bash-completion4
1 files changed, 2 insertions, 2 deletions
diff --git a/composer-bash-completion b/composer-bash-completion
index c94bcf5..4b7508d 100644
--- a/composer-bash-completion
+++ b/composer-bash-completion
@@ -7,7 +7,7 @@
_sf_composer() {
# Use newline as only separator to allow space in completion values
- IFS=$'\n'
+ local IFS=$'\n'
local sf_cmd="${COMP_WORDS[0]}"
# for an alias, get the real script behind it
@@ -25,7 +25,7 @@ _sf_composer() {
local cur prev words cword
_get_comp_words_by_ref -n := cur prev words cword
- local completecmd=("$sf_cmd" "_complete" "--no-interaction" "-sbash" "-c$cword" "-S2.7.6")
+ local completecmd=("$sf_cmd" "_complete" "--no-interaction" "-sbash" "-c$cword" "-S2.8.3")
for w in ${words[@]}; do
w=$(printf -- '%b' "$w")
# remove quotes from typed values