From fdae59d057ae5887a8730358683ac1ba206cf55b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 21 Nov 2010 20:35:25 +0200 Subject: [PATCH] Simplify python _filedir glob. --- completions/python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completions/python b/completions/python index 3b8aba6f..7c8fbba2 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