[Bash-completion-commits] [SCM] bash-completion branch, master, updated. c1d3cdad70523552e63688cb053a960b64e97b16
Ville Skyttä
ville.skytta at iki.fi
Sun Nov 21 18:38:07 UTC 2010
The following commit has been merged in the master branch:
commit fdae59d057ae5887a8730358683ac1ba206cf55b
Author: Ville Skyttä <ville.skytta at iki.fi>
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
More information about the Bash-completion-commits
mailing list