Bug#969551: bash: !ref: unbound variable
Package: bash-completion Version: 1:2.8-6 Severity: normal Dear Maintainer, * What led up to the situation? set -u * What exactly did you do (or not do) that was effective (or ineffective)? cd / cd ho[tab] * What was the outcome of this action? bash: !ref: unbound variable * What outcome did you expect instead? cd home The error appears to come from __reassemble_comp_words_by_ref() in /usr/share/bash-completion/bash_completion -- System Information: Debian Release: 10.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.219-deb10 (SMP w/40 CPU cores) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) -- no debconf information
Bug#969551: bash: !ref: unbound variable
Hi, William, Thanks for your report. On Fri, 04 Sep 2020, William Herrin wrote: > set -u > cd / > cd ho[tab] > bash: !ref: unbound variable This is a known bug, which has been recently fixed upstream, and in debian unstable/testing (see https://bugs.debian.org/741273#27). > -- System Information: > Debian Release: 10.5 It is indeed broken in buster and I don't have plans to backport the fix. Cheers, Gabriel