diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2011-01-10 20:31:57 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2011-01-10 20:31:57 +0200 |
commit | 884307100281c3b5ff3b64130c1fbb9ec306f859 (patch) | |
tree | 5afe982ca9b427f4a61cb3aa49794e8822a66fa8 | |
parent | a2348ba792526071120a4687bc0b31d25553f59a (diff) | |
download | bash-completion-884307100281c3b5ff3b64130c1fbb9ec306f859.tar.gz |
Loosen python executable matching glob.
-rw-r--r-- | completions/python | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/python b/completions/python index 7cbc8c2e..17f96f50 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 ;; |