X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-6.9 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C977C14.1000609@redhat.com>
Date: Mon, 20 Sep 2010 09:21:56 -0600
From: Eric Blake <eblake@redhat.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.3
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Unacceptable behavior -- slowing down script execution
References: <4C939E17.8030208@charter.net> <4C9412F9.8050504@laposte.net> <4C94A412.6060100@charter.net>
In-Reply-To: <4C94A412.6060100@charter.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 09/18/2010 05:35 AM, SJ Wright wrote:
> Is there any reason, when bash itself nowadays has pretty good
> tab-completion, why bash-completion is still available in setup.exe or
> elsewhere in the Luniverse?

Yes.  Builtin bash completion ONLY targets command names (in the first 
shell word) and file names (in subsequent shell words). The 
bash-completion package adds context-sensitive tab completion (ssh <TAB> 
completes on known machine names, chown <TAB> completes on known user 
names, git branch <TAB> completes on branch names in the current 
repository, etc.).  If you want the additional context sensitivity 
(which _I_ do), then bash-completion is a must.  If you don't mind 
losing out on the extra context sensitivity and want bash to use less 
resources, then avoid bash-completion.  It's up to you.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org
volunteer cygwin bash-completion maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

