[Bash-completion-devel] Bug#487774: bash-completion: '. /etc/bash_completion' exits non-zero

Julien Cristau jcristau at debian.org
Tue Jun 24 01:11:41 UTC 2008


Package: bash-completion
Version: 20080617.3
Severity: grave

$ . /etc/bash_completion
$ echo $?
1

hmm?

Reverting to 20060301-4 fixes this.

Setting BASH_COMPLETION_DEBUG to a non-empty value, it seems that the
processing stops after
{
  # These declarations must go within braces in order to be able to silence
  # readonly variable errors.
  BASH_COMPLETION="${BASH_COMPLETION:-/etc/bash_completion}"
  BASH_COMPLETION_DIR="${BASH_COMPLETION_DIR:=/etc/bash_completion.d}"
} 2>/dev/null || :


Cheers,
Julien

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash-completion depends on:
ii  bash                          3.2-4      The GNU Bourne Again SHell
ii  ucf                           3.007      Update Configuration File: preserv

bash-completion recommends no packages.

-- no debconf information






More information about the Bash-completion-devel mailing list