[Bash-completion-devel] Bug#714508: bash terminates on completion if "set -o errexit" (set -e) is set

Kernc kerncece at gmail.com
Sun Jun 30 09:26:19 UTC 2013


Package: bash-completion
Version: 1:2.0-1
Severity: normal
Tags: upstream

Dear Maintainers,

When "set -o errexit" is set, bash exits on some TAB-completition.

Bash exits on:

$ set -e
$ cd <TAB>

Bash does not exit on:

$ set -e
$ c<TAB>

But instead correctly shows possible options.

Bash exiting on TAB key seems wrong. If bash_completion isn't sourced in,
everything works fine (except completion:D).

Should bash_completion be made "set -e"-proof?


-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

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

Versions of packages bash-completion depends on:
ii  bash  4.2+dfsg-0.1
ii  dpkg  1.16.10

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20130630/c0708b6e/attachment.html>


More information about the Bash-completion-devel mailing list