Debian Patches

Status for bash-completion/1:2.11-2

Patch Description Author Forwarded Bugs Origin Last update
00-fix_quote_readline_by_ref.patch Revert "double escaping" hunk of patch. - That portion fixed no cited bug.
- It broke extremely common command-substitution cases, e.g.
"grep pattern $(<TAB>)", producing:
bash: unexpected EOF while looking for matching `)'
bash: syntax error: unexpected end of file
G. Branden Robinson <g.branden.robinson@gmail.com> invalid debian vendor, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742466
04-xine_add_more_formats.patch Add oga and ogx formats j^ (j) <https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/311525/comments/2> no debian vendor
06-xpdf_support_compressed_pdf.patch xpdf in Debian also supports compressed PDFs Alfredo Finelli <0x4146@gmail.com> no debian vendor, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702498
07-dpkg_support_raw-extract_vextract.patch support more options for dpkg-deb Uwe Storbeck <uwe@ibr.ch> no debian vendor, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698977
11-add-completions-for-openrc-rc-service.patch Add completions for OpenRC rc-service
This patch adds completions for the rc-service command from OpenRC, as
suggested and provided by Mathieu Roy via a Debian bug [1], fixed and
extended for more options by myself.

When ran on a chroot with a freshly bootstrapped Debian system, the
following completions produce the following output.

For the options:

# rc-service [TAB][TAB]
-c -h --ifstopped -q savecache
-C --help kmod --quiet udev
cron -i -l -r -v
-d -I --list rc -V
-D --ifcrashed -N rcS --verbose
--debug --ifexists networking --resolve --version
--dry-run --ifinactive --nocolor rsyslog -Z
-e --ifnotstarted --nodeps -s
--exists --ifstarted procps -S
# rc-service [CURSOR]

# rc-service -h[TAB]
# rc-service -h [CURSOR]

# rc-service --v[TAB]
# rc-service --ver[CURSOR]

# rc-service --ver[TAB][TAB]
--verbose --version
# rc-service --ver[CURSOR]

# rc-service --verbose --l[TAB]
# rc-service --verbose --list [CURSOR]

For the services:

# rc-service --list[ENTER]
cron
hwclock.sh
kmod
networking
procps
rc
rcS
rsyslog
savecache
udev

# rc-service r[TAB][TAB]
rc rcS rsyslog
# rc-service r[CURSOR]

# rc-service --dry-run cr[TAB]
# rc-service --dry-run cron [CURSOR]

# rc-service --dry-run cron [TAB][TAB]
force-reload reload restart start status stop
# rc-service --dry-run cron [CURSOR]

# rc-service --dry-run cron re[TAB][TAB]
reload restart
# rc-service --dry-run cron re[CURSOR]

# rc-service --dry-run cron res[TAB]
# rc-service --dry-run cron restart [CURSOR]

Adding `set show-all-if-ambiguous on' to .inputrc yields the same
results, but without the need for the additional [TAB] as displayed
above.

[1] https://bugs.debian.org/865548
Gabriel F. T. Gomes <gabriel@inconstante.eti.br> invalid debian vendor, https://bugs.debian.org/865548

All known versions for source package 'bash-completion'

Links