[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-324-g2fb0a3a

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


The following commit has been merged in the master branch:
commit 6b3121b30ab092fd007264c2c7e62d0e851bff25
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue May 24 23:30:46 2011 +0300

    cvs: Add editors/watchers completion.

diff --git a/completions/cvs b/completions/cvs
index b8751dc..f948a85 100644
--- a/completions/cvs
+++ b/completions/cvs
@@ -267,6 +267,14 @@ _cvs()
         cvsroot)
             _cvs_roots
             ;;
+        editors|watchers)
+            if [[ "$cur" = -* ]]; then
+                _cvs_command_options "$1" $mode
+            else
+                _cvs_entries
+                COMPREPLY=( $( compgen -W '${entries[@]}' -- "$cur" ) )
+            fi
+            ;;
         export)
             case $prev in
                 -r|-D)

-- 
bash-completion



More information about the Bash-completion-commits mailing list