Package: bash
Version: 4.4-5
Severity: minor

Dear Maintainer,

When, at the bash prompt, I type something like:

   g c c <space> ` / u <tab> b <tab> p k g - c <tab>

I expect this to be completed as:

   $ gcc `/usr/bin/pkg-config

(this is a somewhat silly example, but should give you the idea...)

However, every time I press Tab in this example, it displays a warning
message such as:

   bash: bad substitution: no closing "`" in `/usr

which is extremely annoying, because this message appears in the
middle of the text I'm trying to type.  So my screen looks like this:

   $ gcc `/ubash: bad substitution: no closing "`" in `/usr
   sr/bbash: bad substitution: no closing "`" in `/usr/bin
   in/pkg-cbash: bad substitution: no closing "`" in `/usr/bin/pkg-config
   onfig

This problem has been around for a while, but not forever (just tested
bash 4.2.37 from wheezy and it doesn't have this issue.)

It appears to be independent of whether the bash-completion package is
installed.  I usually disable completion entirely ('complete -r' in my
.bashrc), and that seems to make no difference.


-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'stable-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-4-amd64 (SMP w/40 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bash depends on:
ii  base-files   9.9+deb9u1
ii  dash         0.5.8-2.4
ii  debianutils  4.8.1.1
ii  libc6        2.24-11+deb9u1
ii  libtinfo5    6.0+20161126-1+deb9u1

Versions of packages bash recommends:
ii  bash-completion  1:2.1-4.3

Versions of packages bash suggests:
pn  bash-doc  <none>

-- debconf-show failed

Reply via email to