delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/22/17:41:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4CC204F7.1030603@cornell.edu>
Date: Fri, 22 Oct 2010 17:41:11 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Bash problems, strace, performance, etc.
References: <4CBE119C DOT 9070504 AT veritech DOT com> <4CBE179C DOT 7020008 AT veritech DOT com> <4CBFCE23 DOT 3010706 AT laposte DOT net> <4CC0AF02 DOT 1090600 AT veritech DOT com> <AANLkTinxqkPFWgOQkXBcAyuDK_vbqxxWAfg7g-EiEU7=@mail.gmail.com>
In-Reply-To: <AANLkTinxqkPFWgOQkXBcAyuDK_vbqxxWAfg7g-EiEU7=@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 10/22/2010 12:32 AM, Andy Koppe wrote:
> On 21 October 2010 22:22, Lee D. Rothstein wrote:
>>> do you have bash-completion, if yes, get rid of it and try again.
>>
>> Bash completion is installed on my system but never loaded; i.e.,
>> /etc/bash_completion is not sourced in '~/.bashrc', or
>> '~/.profile', or anywhere else.
>
> It gets loaded by /etc/profile.d/bash_completion.sh, which is sourced
> by /etc/profile.

I wonder if this was a packaging bug in bash-completion.  Eric's 
announcement 
(http://sourceware.org/ml/cygwin-announce/2010-06/msg00061.html) said 
the following:

You MUST edit your bash startup files to load bash-completion into 
memory: make sure ~/.bashrc sources /etc/bash_completion, and 
~/.bash_profile sources ~/.bashrc.  See /etc/defaults/etc/skel/.bashrc 
(after installing base-files-3.7-1) for an example.  Bash completions is 
not enabled by default because it adds some noticeable startup delay to 
every interactive shell (about 1.5 seconds on my 2.5 GHz WinXP). 
Depending on the reaction on the cygwin mailing list, a future release 
may make bash_completion turned on by default for every bash user, with 
no edits to ~/.bashrc required.

Ken

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019