Ville Skyttä
c3bddc49e0
bzip2, gzip, python, sysbench: Quote command argument to _parse_help().
2011-04-27 23:17:51 +03:00
Ville Skyttä
e3ca91b986
Use _init_completion() in completions/p*.
2011-04-20 23:13:29 +03:00
Ville Skyttä
9af6f3504e
Abort completion file loading earlier if required commands are not available.
...
Cuts ~10% from bash completion load time on two different systems I
just tested.
2011-04-05 00:37:55 +03:00
Ville Skyttä
8843071002
Loosen python executable matching glob.
2011-01-10 20:31:57 +02:00
Ville Skyttä
a2348ba792
Complete "/path/to/python" the same way as plain "python".
2011-01-10 20:29:34 +02:00
Ville Skyttä
8fd9e1d1b9
Avoid "bad array subscript" with /usr/bin/python <TAB> (Debian: #559953 ).
2011-01-10 20:26:22 +02:00
Ville Skyttä
c1d3cdad70
python -c takes a command, not a script.
2010-11-21 20:36:09 +02:00
Ville Skyttä
fdae59d057
Simplify python _filedir glob.
2010-11-21 20:35:25 +02:00
Ville Skyttä
d5a7346390
Add some python option arg non-completions.
2010-11-21 20:30:42 +02:00
Ville Skyttä
4b2c511e2d
Get python options with _parse_help().
2010-11-21 20:29:45 +02:00
Ville Skyttä
d1be965eee
Install python completion for python2 and python3 too.
2010-11-21 20:02:12 +02:00
Ville Skyttä
7df38d3c5d
Indentation fixes.
2010-11-21 20:00:34 +02:00
Ville Skyttä
0f450219b6
Remove most "-o filenames" options to "complete".
...
Turn it on dynamically when needed instead; see doc/styleguide.txt for
a longer explanation. This fixes many non-filename completions which
had been previously more or less broken due to unwanted
escape-as-filenames behavior.
2010-11-01 19:29:45 +02:00
Ville Skyttä
cf882a49e2
Coding style tweaks.
2010-10-24 12:37:22 +03:00
Guillaume Rousse
cb7fc2f7c4
rename 'contrib' directory to 'completions'
2010-09-12 16:42:21 +02:00