[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:32 UTC 2011


The following commit has been merged in the master branch:
commit bc38068568d7923ce4fc96310538417992d68d62
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue May 24 20:20:43 2011 +0300

    cvs: Drop -o default to fix CVS root completions.

diff --git a/completions/cvs b/completions/cvs
index d6aea59..ca47965 100644
--- a/completions/cvs
+++ b/completions/cvs
@@ -252,8 +252,6 @@ _cvs()
             fi
             ;;
         cvsroot)
-            # TODO: works poorly because of the colons and -o default,
-            #       could we drop -o default?  works ok without it in cvsps
             _cvs_roots
             ;;
         export)
@@ -368,7 +366,7 @@ _cvs()
 
     return 0
 } &&
-complete -F _cvs -o default cvs
+complete -F _cvs cvs
 
 # Local variables:
 # mode: shell-script

-- 
bash-completion



More information about the Bash-completion-commits mailing list