On Fri, Dec 12, 2014 at 01:59:50PM -0700, Bob Proulx wrote: > Dennis Williamson wrote: > > Bob Proulx wrote: > > > I see a lot of hits in the bash_completion add-on files. Should we be > > > looking at: > > > > > > $ grep -r "shopt -s extglob" /etc/bash* > > > /etc/bash_completion.d/nmh: shopt -s extglob > > > /etc/bash_completion.d/libreoffice.sh: test $g -eq 0 && shopt -s > > > extglob > > > /etc/bash_completion.d/mercurial:shopt -s extglob > > > /etc/bash_completion.d/subversion:# pattern matching enabled (use 'shopt > > > -s extglob progcomp' to enable > > > /etc/bash_completion.d/subversion:shopt -s extglob > > > > Perhaps you should check for shopt -u extglob reversing those. > > Good point. > > $ grep -r "shopt -. extglob" /etc/bash* > /etc/bash_completion.d/nmh: orig_opts=$(shopt -p extglob) > /etc/bash_completion.d/nmh: shopt -s extglob > /etc/bash_completion.d/libreoffice.sh: shopt -q extglob && g=1 > /etc/bash_completion.d/libreoffice.sh: test $g -eq 0 && shopt -s extglob > /etc/bash_completion.d/libreoffice.sh: test $g -eq 0 && > shopt -u extglob > /etc/bash_completion.d/libreoffice.sh: test $g -eq 0 && shopt -u extglob > /etc/bash_completion.d/mercurial:shopt -s extglob > /etc/bash_completion.d/subversion:shopt -s extglob > > Bob
A very good point, indeed. I run Arch, so I was surprised to hear that any sort of customization by the packager would have taken place. I built a quick systemd namespace container with a fresh base install, and sure enough, there extglob was not set. Upon installation of bash-completion, however, it was. Thanks for the help! -- David J. Haines djhai...@gmx.com 0xAFB3D16D - F929 270F B7C3 78AE A741 434F A7C6 F264 AFB3 D16C