delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/15/14:48:01

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:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; q=dns; s=default; b=LpUD
+Z0BVwhtYvjB6Cd/MPVvikzgOsJXdHmpwNIfiRQ5VQ84jLah+9dMNc6Mfp+kjrrt
wjq25af+/RkUUSMUcj4MO5xOMe9NTJM5hlkOHSplLHhEFfIGls2zwhNIxLCobSyt
QeR/UmeXef+t4wr/npTBPyeQv7+Cwa4ZZCFx1lE=
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:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; s=default; bh=CfhnsGXNIQ
JsBabTGtbn2CGHmkI=; b=DadQOGJBuyAuBCYTwRmoXr+PZn/U1gRkJspdZHKtwo
94YQym3ADZsH4dZLrsnQodqDVttzaEjvwWZWuMMG5A26dffL+vkHbXGwZSUX6gf0
YSNSoLVnmKyOAzErFc5DuLNTl3hEp0VJU5OqP+SG5kcNcnSSJ8Gs826MvEbeeBp7
c=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f172.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=HwQC10B3ojLWwNMHjdOeJW8sWLQiRZj0lfMn5U3wa7Y=; b=eJaTckuncWmQCzq9SCscHW4WhPoHTYScNFesDkHKWlzHIh2VKaT42TSs+G2K60z/Xn JNqMt1XwP5wvaPPR5DbSHd5AekzGbp5NsqCR861MjtpWLeKXeQpHQn/GChIAtEexsiik ubVqZWLAK1t6nyDy1o9bUly4w9X5RIzZNwEUl4zp5KolX2K8Qo2w7n099ZySv3kINDhF PAZABQzvAqY/ysYP8edf1siIU2JeXj0HwNg4kY8Hfezenhp6Rd7LAJFr4eSF0xBfnqO5 69m8gVtgSV9pzRN1Kn/p48pv5wBJfL6EbiTwJYKNIGgui5S9CIzSJzGbObqhI1c23Qkb 3Mbw==
X-Gm-Message-State: ALoCoQmGT0psmIfRVPqr0TO2pCdX5nRhk+bQ2xzUo0oKaO/IDpytMJRNcu3y/vlGw/OuHZl248yM
X-Received: by 10.194.79.201 with SMTP id l9mr14416761wjx.59.1413398859279; Wed, 15 Oct 2014 11:47:39 -0700 (PDT)
Date: Wed, 15 Oct 2014 19:47:35 +0100
From: Adam Dinwoodie <adam AT dinwoodie DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: perl -d causes completion to fail
Message-ID: <20141015184735.GE9828@dinwoodie.org>
References: <m1kb7c$rko$1 AT ger DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <m1kb7c$rko$1@ger.gmane.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-IsSubscribed: yes

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.

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