[Bash-completion-devel] Bug#666933: Enabling nullglob breaks file/directory completion

Shalom Bhooshi s.bhooshi at gmail.com
Mon Apr 2 17:46:38 UTC 2012


Package: bash-completion
Version:    1:1.99-3


If nullglob option is enabled in the shell (via `shopt -s nullglob')
the completion of files/directories for commands such as `ls', `cd',
etc fail - this is because the various completion functions inherit
this setting from the shell and do not make local this setting.


$ dpkg -l | grep -i bash
ii  bash                                       4.2-1
      GNU Bourne Again SHell
ii  bash-builtins                              4.2-1
      Bash loadable builtins - headers & examples
ii  bash-completion                            1:1.99-3
      programmable completion for the bash shell
ii  bash-doc                                   4.2-1
      Documentation and examples for the The GNU Bourne Again SHell

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux testing (wheezy)
Release:        testing
Codename:       wheezy


Shalom Bhooshi <s.bhooshi at gmail.com>





More information about the Bash-completion-devel mailing list