Package: bash-completion
Version: 1:2.11-2
Severity: important
X-Debbugs-Cc: msl0000023...@gmail.com

This version has a bug that didn't exist in previous Debian release (Buster).
The completion becomes wrong after certain words; for exmaple I want to
search for word 'TERM' in a file, so I typed (^ indicates cursor position):

grep -F TERM 
             ^

however the completion here doesn't give the expected result, of listing
files in the working directory, but instead:

$ grep -F TERM 
Display all 1750 possibilities? (y or n)
9term                    hp2                      screen.linux-m1
Eterm                    hp236                    screen.linux-m1b
Eterm-256color           hp2382a                  screen.linux-m2
Eterm-88color            hp2392                   screen.minitel1
MtxOrb                   hp2397a                  screen.minitel1-nb
...

It appears that bash wrongly completed this as the TERM environmet variable,
which is obviously incorrect here.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.147-rivoreo-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

Reply via email to