[Bash-completion-devel] Bug#740975: bash-completion: Files missing (only directories shown) when path starts with tilde(~)
Philipp Hagemeister
phihag at phihag.de
Thu Mar 6 19:49:02 UTC 2014
Package: bash-completion
Version: 1:2.1-2
Severity: normal
Dear Maintainer,
bash-completion only lists directories when the filename starts with a tilde.
To reproduce:
$ mkdir -p ~/test_bc/dir
$ touch -p ~/test_bc/file
$ cd ~
$ mv test_bc/ [press Tab]
dir/ file
So far, so good. But if the path starts with tilde, only directories are
considered:
$ mv ~/test_bc/ [press Tab] dir/
mv ~/test_bc/file .
is a perfectly fine command. bash-completion should offer dir/ file no
matter how the path starts.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (600, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash-completion depends on:
ii bash 4.3-2
ii dpkg 1.17.6
bash-completion recommends no packages.
bash-completion suggests no packages.
-- no debconf information
More information about the Bash-completion-devel
mailing list