bug-bash
[Top][All Lists]
Advanced

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

Re: Mailcheck during completion


From: Chet Ramey
Subject: Re: Mailcheck during completion
Date: Thu, 11 Aug 2011 09:54:16 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11

On 8/11/11 6:23 AM, Martin von Gagern wrote:
> 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 suspect that you have a completion defined for `ls' and it's running a
command or process substitution that's causing the mail check.  Can you
run `set -x', then attempt the completion again and post the results?

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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