[Bash-completion-devel] Bug#584296: bash-completion: openssl verify -CAfile dem<tab> completes to just a directory name

Julian Gilbey jdg at debian.org
Wed Jun 2 21:33:56 UTC 2010


Package: bash-completion
Version: 1:1.1-3
Severity: normal

Typing the following:

erdos:/tmp $ openssl verify -CAfile dem<TAB> 

gives

erdos:/tmp $ openssl verify -CAfile demoCA _

(where the _ indicates the new cursor position), even though demoCA is
a directory.  Backspacing and adding a slash gives the following
behaviour:

erdos:/tmp $ openssl verify -CAfile demoCA/<TAB><TAB>
demoCA/cacert.pem      demoCA/crlnumber       demoCA/newcerts
demoCA/careq.pem       demoCA/index.txt       demoCA/private
demoCA/certs           demoCA/index.txt.attr  demoCA/serial
demoCA/crl             demoCA/index.txt.old   demoCA/server.key

which is not what I would have expected or wanted.

Why am I not getting plain old filename completion?

   Julian

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

Kernel: Linux 2.6.32-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash                          4.1-3      The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- Configuration Files:
/etc/bash_completion changed [not included: minor change only to fix
bug#578423]

-- no debconf information





More information about the Bash-completion-devel mailing list