[Bash-completion-devel] Bug#837457: bash-completion: gzip completion broken if no space before >

Samuel Thibault sthibault at debian.org
Sun Sep 11 18:25:52 UTC 2016


Package: bash-completion
Version: 1:2.1-4.3
Severity: normal

Hello,

mkdir /tmp/foo
cd /tmp/foo
touch foo.gz
touch a

now, if I type:

gzip < a > foo

and press tab, "foo" gets completed into foo.gz . However, if I type:

gzip < a> foo

i.e. no space before '>', and press tab, "foo" doesn't get
completed. Worse, if a foobar directory exists (mkdir foobar), then tab
does complete into foobar, ignoring the foo.gz file. this is very
inconvenient since it is completely fine not to type a space before '>'.

Samuel

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages bash-completion depends on:
ii  bash  4.4~rc2-1
ii  dpkg  1.18.10

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information

-- 
Samuel
 CN > J'ai enseigné l'algorythmique.
 GLG> C'est quoi l'algorythmique ? Une contrebasse programmée en Algol ?
 -+- in : Guide du Neuneu d'Usenet - Neuneu fait ses gammes. -+-



More information about the Bash-completion-devel mailing list