nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] docs/COMPLETION-BASH.

2012-02-08 21:44:36
Norm wrote:

Well,... I had never heard of a bash-completion package, so it
wasn't clear, but now it is.

Using Redhat 6.2, I installed bash_completion and put
COMPLETION-BASH in /etc/bash_completion.d/. The result was that
every time I hit the tab key I got a slew of error messages about
undefined variables, from bash. The problem persisted when I removed
COMPLETION-BASH from /etc/bash_completion.d/, so it had nothing to
do with nmh or you.  When I logged in as a user, not norm, the
problem disappeared, so it had to do with my environment. I spent a
couple hours on the problem, to no avail.  So for now, I gave up and
uninstalled bash_completion.

You have more patience than me :-)

Just a guess, I wonder if "set +u" would have silenced those
messages.

I removed bash-completion (all of it, not just for nmh) from
my system (Fedora 16) because it disabled some completions
that I use frequently.  I don't think it's very useful for
nmh, anyway, because nmh options can be abbreviated.  It
should complete folder names, but didn't for me.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>