From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68361 invoked by alias); 13 Mar 2016 21:58:56 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 68344 invoked by uid 89); 13 Mar 2016 21:58:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_40,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:may, H*r:forged, H*Ad:D*cornell.edu, H*MI:sk:87r3fee X-HELO: limerock02.mail.cornell.edu Received: from limerock02.mail.cornell.edu (HELO limerock02.mail.cornell.edu) (128.84.13.242) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 13 Mar 2016 21:58:54 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u2DLwq88023793 for ; Sun, 13 Mar 2016 17:58:52 -0400 Received: from [192.168.1.4] (mta-68-175-148-36.twcny.rr.com [68.175.148.36] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u2DLwpTH014959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sun, 13 Mar 2016 17:58:52 -0400 Subject: Re: bash completion after equals sign does not work after upgrading to bash_completion 2.1-2 To: cygwin@cygwin.com References: <56CD6CC6.2000801@le-tex.de> <56CDDFE7.8020109@cornell.edu> <87r3fee0kr.fsf@Rainer.invalid> From: Ken Brown Message-ID: <56E5E2A0.3060209@cornell.edu> Date: Sun, 13 Mar 2016 21:58:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <87r3fee0kr.fsf@Rainer.invalid> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00207.txt.bz2 On 3/13/2016 1:42 PM, Achim Gratz wrote: > Ken Brown writes: >> [Achim, /etc/defaults/etc/skel/.bashrc has some outdated comments >> referring to /etc/bash_completion.] > > I need further discussion and preferrably a patch. Since I don't use > bash, I don't know anything about how its completion mechanism works and > reading the man page makes me none the wiser. I'm not an expert on bash-completion either, but here are my thoughts on what's in .bashrc now. Someone who knows more should comment further. > # Uncomment to turn on programmable completion enhancements. > # Any completions you add in ~/.bash_completion are sourced last. > # [[ -f /etc/bash_completion ]] && . /etc/bash_completion This is obsolete because (a) /etc/bash_completion has been replaced by /usr/share/bash-completion/bash_completion and (b) the latter is already sourced by /etc/profile.d/bash_completion.sh. > # COMP_CVS_REMOTE=1 This is probably OK. > # COMP_CONFIGURE_HINTS=1 This is probably OK. > # COMP_TAR_INTERNAL_PATHS=1 I don't think this will have any effect unless it's set *before* /usr/share/bash-completion/bash_completion is sourced; so it doesn't belong in .bashrc now that /usr/share/bash-completion/bash_completion is sourced by /etc/profile.d/bash_completion.sh. 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