Hi!

I often get a bash message about new mail during command line completion.

Steps to reproduce:
Type "ls ~/.bas" and press tab.

Expected result:
Command line completed to "ls ~/.bash" or whatever is right.

Actual result:
If new mails have arrived, the mail check is performed when pressing
tab, rendering the whole command line like this:

$ ls ~/.basYou have mail in /var/mail/user
h

This is a real problem for both readability and subsequent editing of
the command line.

I would therefore like to see bash modified in such a way that the mail
check is never executed in response to a completion. Instead, the only
places where such a check should be performed are in my opinion the
initial prompt after startup and any prompt after a command was actually
executed. Just pressing enter with an empty command line should also do
the check, I think.

Greetings,
 Martin von Gagern


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to