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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to