Package: bash-completion
Version: 1:1.3-3
Severity: wishlist

Hi,

Whether set -e is used, or set -E and its corresponding trap is set, many 
completions fail. Using set -e for testing is out of the question, but the 
following should give you a good idea:

$ set -E
$ trap -- 'echo "exit code: $?"' ERR

Now try to autocomplete: cd /

A more useful trap for debugging would be
trap 'echo "<$BASH_COMMAND> failed"' ERR

(add extra $BASH_ vars as needed)

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to