bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mailcheck during completion


From: Martin von Gagern
Subject: Mailcheck during completion
Date: Thu, 11 Aug 2011 12:23:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0

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

[Prev in Thread] Current Thread [Next in Thread]