[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-165-g41ce815

Ville Skyttä ville.skytta at iki.fi
Sun May 1 14:35:05 UTC 2011


The following commit has been merged in the master branch:
commit ddbd28f638b47c2175872ab0aa23a66983f19f92
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sun May 1 17:29:43 2011 +0300

    Comment fixes.

diff --git a/bash_completion b/bash_completion
index fbaddd0..b523de5 100644
--- a/bash_completion
+++ b/bash_completion
@@ -344,7 +344,7 @@ __reassemble_comp_words_by_ref()
 # @param $2 words  Name of variable to return words to
 # @param $3 cword  Name of variable to return cword to
 # @param $4 cur  Name of variable to return current word to complete to
-# @see ___get_cword_at_cursor_by_ref()
+# @see __reassemble_comp_words_by_ref()
 __get_cword_at_cursor_by_ref()
 {
     local cword words=()
@@ -366,7 +366,7 @@ __get_cword_at_cursor_by_ref()
             ((index--))
         done
 
-        # Does found word matches cword?
+        # Does found word match cword?
         if [[ "$i" -lt "$cword" ]]; then
             # No, cword lies further;
             local old_size="${#cur}"

-- 
bash-completion



More information about the Bash-completion-commits mailing list