Package: bash
Version: 4.4.18-2
Severity: wishlist

Hi,

If you source completion files from ~/.bash_aliases, to use them for
your aliases (a trick I learned in the New Maintainer's Guide, see [1]),
a non-login shell (like Gnome Terminal's default, or a default screen
session) outputs errors at the beginning, complaining about the missing
"_have" function (which is indeed not yet sourced).

The simple fix for this problem is to source the completion files before
the ~/.bash_aliases file. Please consider making this the default for
newly created users by swapping the order of the last two stanzas in
/etc/skel/.bashrc.

[1] https://www.debian.org/doc/manuals/maint-guide/modify.html

Regards,

-- 
Raphaël Halimi

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to