Ville Skyttä
0a3029ac49
lrzip, lzop, xz: Complete option arguments before options.
2011-06-08 21:57:54 +03:00
Ville Skyttä
33900b8724
xzdec: Complete $cur == -* after option argument and split checks.
2011-05-03 12:41:28 +03:00
Ville Skyttä
c875723bef
Include trailing equals sign in options that take arguments that way.
...
This way it's clearer to users that an argument is expected. It's
likely that this commit does not catch all such cases, but it should
do it for most of the affected commands I have installed.
2011-05-02 11:45:55 +03:00
Ville Skyttä
a54857cd05
_init_completion: Add -s for splitting long options, use it in completions.
2011-05-02 00:04:26 +03:00
Ville Skyttä
1709686b7e
xz: Non-complete --memlimit{,-compress,-decompress}.
2011-04-28 21:40:11 +03:00
Ville Skyttä
e2c57c5966
Convert many completions to use _parse_help() instead of hardcoded option lists.
2011-04-28 21:21:31 +03:00
Ville Skyttä
6e809d032c
Remove = from COMP_WORDBREAKS when using _split_longopt().
...
Without this, it does not do anything useful in bash >= 4.0.
2011-04-25 00:09:50 +03:00
Ville Skyttä
9f45e81e65
Drop no longer needed _compopt_o_filenames().
...
Use compopt -o filenames directly instead.
2011-04-21 12:33:05 +03:00
Ville Skyttä
8048917968
Use _init_completion() in completions/[q-z]*.
2011-04-21 11:15:01 +03:00
Ville Skyttä
6fbd0cc50e
Install xzdec completion even if xz or pxz are not available.
2011-04-19 23:37:54 +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ä
70a3b8a8b4
xz* option completion updates.
2011-03-21 19:45:08 +02:00
Ville Skyttä
03fee4b4d3
Apply xz completion to pxz too.
2011-03-21 19:44:17 +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ä
a58697d154
Comment update.
2010-11-01 19:29:45 +02:00
Ville Skyttä
3d8efed618
Fixes to completions for filenames containing tabs (RedHat: #629518 ).
2010-10-04 20:49:17 +03:00
Guillaume Rousse
cb7fc2f7c4
rename 'contrib' directory to 'completions'
2010-09-12 16:42:21 +02:00