[Bash-completion-devel] Bug#809080: bash-completion: exclude rule doesn`t work with _install_xspec

Korobkov Sergey korobkovserg at gmail.com
Sun Dec 27 00:19:05 UTC 2015


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

I have a problem:
Vim completion doesn`t show files. It allow to comlete only directories.
Then I edit file /usr/share/bash-completion/bash_completion and comment out line:
"_install_xspec '*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)' vi vim gvim rvim view rview rgvim rgview gview emacs xemacs sxemacs kate kwrite"
After this operation I am able to use completion for vim. It shows all files inclding "*.o", "*.so" etc.

Similar problem occurs with "compress" and line:
"_install_xspec '*.Z' compress znew"

Other lines like:
"_install_xspec '!*.mp3' mpg123 mpg321 madplay"
works pretty well.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages bash-completion depends on:
ii  bash  4.3-9.2
ii  dpkg  1.17.25

bash-completion recommends no packages.

bash-completion suggests no packages.

-- debconf-show failed



More information about the Bash-completion-devel mailing list