[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-27-gdc15093

Igor Murzov e-mail at date.by
Sat Aug 11 17:20:23 UTC 2012


The following commit has been merged in the master branch:
commit dc150937d126430f5cc20dfaf3239a71049fe0df
Author: Christian von Roques <roques at mti.ag>
Date:   Tue May 22 16:10:58 2012 -0400

    Fix __reassemble_comp_words_by_ref for $COMP_CWORD == ${#COMP_WORDS[@]}

diff --git a/bash_completion b/bash_completion
index b51f38b..f3488ba 100644
--- a/bash_completion
+++ b/bash_completion
@@ -284,6 +284,7 @@ __reassemble_comp_words_by_ref()
             # Indicate new cword
             [[ $i == $COMP_CWORD ]] && eval $3=$j
         done
+        [[ $i == $COMP_CWORD ]] && eval $3=$j
     else
         # No, list of word completions separators hasn't changed;
         eval $2=\( \"\${COMP_WORDS[@]}\" \)

-- 
bash-completion



More information about the Bash-completion-commits mailing list