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

Kernc kerncece at gmail.com
Sun Jul 7 11:20:12 UTC 2013


On Sun, Jul 7, 2013 at 12:34 PM, Ville Skyttä <ville.skytta at iki.fi> wrote:

>
> setting set -e in a normal interactive shell for anything but testing
> purposes is asking for trouble
>

I'm sure you are correct. But I'm sourcing interactively a functions.sh
script that sets -e, and after it, any completion request terminates my
terminal. Is setting -e only on the parent sourcing script a convention
'fix' for this case?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20130707/f69aaba5/attachment.html>


More information about the Bash-completion-devel mailing list