[Bug 1813090] [NEW] bash completions in /usr/share/bash-completion generate unbound variable errors

Launchpad Bug Tracker 1813090 at bugs.launchpad.net
Thu Jan 24 15:21:51 UTC 2019


You have been subscribed to a public bug:

After upgrading from Ubuntu 18.04 LTS to 18.04.1 LTS, I get errors
whenever I attempt to tab-complete anything from an interactive bash
prompt.

Tab-completing nothing gives me:

    -bash: _xspecs[$cmd]: unbound variable

Tab-completing an existing filename gives me:

    -bash: !ref: unbound variable

I've partially narrowed down the cause to me putting `set -o nounset` in
my `.bashrc` file, and something in `/usr/share/bash-completion` is
triggering these unbound variable errors. (That is, the errors go away
if I remove `set -o nounset` or if I make `/usr/share/bash-
completion/bash_completion` exit immediately.)

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
bash completions in /usr/share/bash-completion generate unbound variable errors
https://bugs.launchpad.net/bugs/1813090
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to bash in Ubuntu.



More information about the foundations-bugs mailing list