bug-bash
[Top][All Lists]
Advanced

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

Re: Mailcheck during completion


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

Hi Chet,

thanks for the swift reply!

On 11.08.2011 15:54, Chet Ramey wrote:
> 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?

Yes, there is a completion function for ls coming from the _longopt
function from the bash-completion project at debian:
http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=blob;f=bash_completion;h=66019379fe1e9ef9b1010bff53a0dc1baf4e73d9;hb=7c81ef895455d0f7543c65789ff62808e7465578#l1540

With -x enabled, I see several subprocess lines, i.e. lines indented by
two + instead of one. Some triggered by eval, others by $(...).

I wonder why this breaks things. After all, those subshells should never
print a prompt, should never even look for interactive input. But I take
it you've got your reasons to suspect them. Can this be fixed?

Greetings,
 Martin

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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