[Bash-completion-devel] Bug#625469: improvements for tar, cryptsetup, imagemagick completions and the _parse_help function
franki777 at xmail.net
Tue May 3 17:46:19 UTC 2011
I made several improvements for the bash-completion package.
The improved completion for tar is much more thoroughly implemented than the original
one from the bash-completion package and almost fully featured, the only thing that may
not complete correctly are some suboptions of the multi-volume option -M as I never use
it and I don't know how that works. It does proper argument counting and completes
The improved version of the cryptsetup completion honors options before the action
argument and completes on keyslot numbers for actions that uses them and it only
completes on usable block devices instead of everything under /dev amongst other
The improved verion of the imagemagick tools completions uses a more flexible approach
of getting all of the options than the one in the bash-completion package by replacing
most of the static option chunks with dynamic options loading.
The improved version of the _parse_help function is backwards drop-in compatible with
the one in the bash-completion package version 1.2-3. It creates less processes and
works for more completions:
bzip2 gcc genisoimage gzip imagemagick k3b lzma lzop make man net-tools pm-utils
everything is in the gzipped tar ball attached to this mail. The _parse_help function
is in a diff -u.
More information about the Bash-completion-devel