X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=hKFIagdHNs7k9On8 4hMzH2t/j3WrAI8THgRPBeCVsZAKVU5GT3DA3mAd3ihMhhXUKaLCH1P7fLRrnugJ Bg0pOeQ69oDdFyZr4cvBQS7AXPw00yB2JGreGyJrET1O5FY8lBx53vtZTDcu+uTM +d16aujIqO5NPSqwsTl/xgJ2RZM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=5knBipZBJVu9t3w574z6/S qb0Hs=; b=wXBsbHNBrtqdNm/ajnK36ZqF+Fsf5klLXHKMITSL4MMnUfyhVAI+1Z MX0IRaiwVcV/z+NPktS55CBRc1Hj4DtOPXdoQWHd+6fQ2hwpnPuBqYvQWAzzdmee TC4uJ9MEA0i+jtfyBPGjrHcnxufWw1NCYh38wztWWQLkJWVG5hZAY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 X-CornellRouted: This message has been Routed already. Subject: Re: bash completion after equals sign does not work after upgrading to bash_completion 2.1-2 To: cygwin AT cygwin DOT com References: <56CD6CC6 DOT 2000801 AT le-tex DOT de> <56CDDFE7 DOT 8020109 AT cornell DOT edu> <87r3fee0kr DOT fsf AT Rainer DOT invalid> From: Ken Brown Message-ID: <56E5E2A0.3060209@cornell.edu> Date: Sun, 13 Mar 2016 17:58:56 -0400 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 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