X-Recipient: archive-cygwin@delorie.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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding
	:in-reply-to; q=dns; s=default; b=DPZwSb8YTCvkYJmrGRytU1H6xgcMMo
	ITCfKwgSn1I5iicBvEaVvnO6Y18zKoqwI5YxrKvoPRqnn4VdWYHclZJKlJSpF6oa
	s90ZBxdqTtAHydgjbFBC2mrcAGPnepPo+gx0qw5gHMVoCBDX8DjWHZ1Uuvh74MyC
	6ilLXvUVqtsNs=
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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding
	:in-reply-to; s=default; bh=QcUs1pYi4zfC/nECNrC9OIhUUhA=; b=SjgQ
	TwUHRgNz0aPsk5ir2Qqv+GGhQefctMWveYlQjEJrb56GP8tHgsHZ3PitTQragPRX
	yloBj2dt6BUhIJSqV/msWhnM3enB0QW4pTDkMT5/RX/jQM26CYFr5FhDQMk+Z7gW
	SbGPX/2AFAAkzGur1zRGpq5vxL8v4AON7MwnHG0=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_FSL_HELO_BARE_IP_2,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject: Re: perl -d causes completion to fail
Date: Wed, 15 Oct 2014 14:30:51 -0700
Lines: 25
Message-ID: <m1mp2b$l79$1@ger.gmane.org>
References: <m1kb7c$rko$1@ger.gmane.org> <20141015184735.GE9828@dinwoodie.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
In-Reply-To: <20141015184735.GE9828@dinwoodie.org>
X-IsSubscribed: yes

On 10/15/2014 11:47 AM, Adam Dinwoodie wrote:
> On Tue, Oct 14, 2014 at 04:22:20PM -0700, Andrew DeFaria wrote:
>> Now I did some Bash completion stuff before so I'm familiar but
>> where would I find which completion thing causes this to work but
>> only if -d was not specified?
>>
>> Specify some other Perl option (i.e. -v) and it WORKS!
>>
>> To recap: perl -d mysc<tab> does NOT complete to perl -d myscript.pl
>> but perl -v mysc<tab> does! That's just odd!
>
> This is all provided by the bash-completion package.  You should be able
> to download the source code using setup-*.exe as usual, or the specific
> script you're after is /etc/bash_completion.d/perl.
>
> The upstream release of bash-completion is v2.1; the official Cygwin
> version seems to be based on v1.3, so it could be that this is resolved
> in future releases.
>

Hmmm... seems my bash-completion and a few other things are old. Time to 
update.... (should have checked this first - sorry).
-- 
Andrew DeFaria
http://defaria.com


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

