Simplify python _filedir glob.

This commit is contained in:
Ville Skyttä 2010-11-21 20:35:25 +02:00
parent d5a7346390
commit fdae59d057

View File

@ -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