[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 884307100281c3b5ff3b64130c1fbb9ec306f859
Ville Skyttä
ville.skytta at iki.fi
Mon Jan 10 18:34:19 UTC 2011
The following commit has been merged in the master branch:
commit 884307100281c3b5ff3b64130c1fbb9ec306f859
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Mon Jan 10 20:31:57 2011 +0200
Loosen python executable matching glob.
diff --git a/completions/python b/completions/python
index 7cbc8c2..17f96f5 100644
--- a/completions/python
+++ b/completions/python
@@ -21,7 +21,7 @@ _python()
-- "$cur" ) )
return 0
;;
- !(?(*/)python?([23])|-?))
+ !(?(*/)python*([0-9.])|-?))
[[ $COMP_CWORD -lt 2 || ${COMP_WORDS[COMP_CWORD-2]} != -@(Q|W) ]] \
&& _filedir
;;
--
bash-completion
More information about the Bash-completion-commits
mailing list