The following commit has been merged in the master branch:
commit fdae59d057ae5887a8730358683ac1ba206cf55b
Author: Ville Skyttä <[email protected]>
Date:   Sun Nov 21 20:35:25 2010 +0200

    Simplify python _filedir glob.

diff --git a/completions/python b/completions/python
index 3b8aba6..7c8fbba 100644
--- a/completions/python
+++ b/completions/python
@@ -40,7 +40,7 @@ _python()
 
 
     if [[ "$cur" != -* ]]; then
-        _filedir '@(py|pyc|pyo)'
+        _filedir 'py?([co])'
     else
         COMPREPLY=( $( compgen -W "$( _parse_help $1 -h )" -- "$cur" ) )
     fi

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to