[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-320-gf186fc0

Ville Skyttä ville.skytta at iki.fi
Tue May 24 20:13:34 UTC 2011


The following commit has been merged in the master branch:
commit 44dd86807728d79ba1bad7b356605fc76e529f7f
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue May 24 23:10:11 2011 +0300

    cvs: Add CVS controlled file completions for admin and update.

diff --git a/completions/cvs b/completions/cvs
index 0a9d1d3..abc0a75 100644
--- a/completions/cvs
+++ b/completions/cvs
@@ -186,6 +186,9 @@ _cvs()
 
             if [[ "$cur" = -* ]]; then
                 _cvs_command_options "$1" $mode
+            else
+                get_entries
+                COMPREPLY=( $( compgen -W '${entries[@]}' -- "$cur" ) )
             fi
             ;;
         annotate)
@@ -342,6 +345,9 @@ _cvs()
 
             if [[ "$cur" = -* ]]; then
                 _cvs_command_options "$1" $mode
+            else
+                get_entries
+                COMPREPLY=( $( compgen -W '${entries[@]}' -- "$cur" ) )
             fi
             ;;
         "")

-- 
bash-completion



More information about the Bash-completion-commits mailing list