[Top][All Lists]

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

Re: bash-completion between do and done

From: Bob Proulx
Subject: Re: bash-completion between do and done
Date: Sat, 5 Nov 2011 01:43:32 -0600
User-agent: Mutt/1.5.18 (2008-05-17)

Chris F.A. Johnson wrote:
>    I can confirm it on 3.05b, 3.0 and 4.2:
> while [ ${n:=0} -lt 5 ]
> do
>   se<TAB>
>   All I get is a beep.

Hmm...  It is still completing.  But not command completion.  It is
doing filename completion instead of command completion.  It is out of
sync with the current action point.

Of course I was trying filename completion.  The simpler case is:

  while false; do l<TAB>

But other completions do work fine.

  while false; do ls --so<TAB>
  while false; do ls ~/.ba<TAB>

As a workaround you can force command completion using 'C-x !' and


reply via email to

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