Public bug reported:

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: ubuntu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1813090

Title:
  bash completions in /usr/share/bash-completion generate unbound
  variable errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1813090/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to