Package: bash-completion
Version: 1:2.8-6

Package: tar
Version: 1.30+dfsg-6

System:
- Debian GNU/Linux 4.19.118-2 x86_64 (amd64),
- kernel 4.19.0-9-amd64 4.19.118-2
- libc6:amd64 2.28-10

Problem:

The autocomplete doesn't work with tar command.

Example:

$ ls
archive-01.tar  archive-02.tar  file01.txt  file02.txt

$ tar -cf 000/<TAB> not working

- The bash-completion section in /etc/bash.bashrc file is enabled.
- Tab completion doesn't work on root account and other users.
- Tab completion with other command (dpkg, apt-get, vim etc) works properly.

If I set:

$ complete -o default tar
$ complete -p tar
complete -o default tar

The autocomplete works very good, but that is not any solution.

Any sugestion?

Best redgards
Slawomir Stanczak

Reply via email to