This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: perl -d causes completion to fail


On 10/20/2014 4:23 AM, Adam Dinwoodie wrote:
On Wed, Oct 15, 2014 at 03:08:42PM -0700, Andrew DeFaria wrote:
On 10/15/2014 2:30 PM, Andrew DeFaria wrote:
Adefaria-lt:ls /etc/bash_completion.d/perl
ls: cannot access /etc/bash_completion.d/perl: No such file or directory
Adefaria-lt:ls /usr/share/bash-completion/completions/perl
/usr/share/bash-completion/completions/perl
Adefaria-lt:

I think you mean /usr/share/bash-completion/completions/perl... I
think the problem is that it's parsing the next token after -d and
-dt looking for :debugger and never things that maybe there's no
debugger name (see perldoc perldebug).

Whatever you're using doesn't seem to be the Cygwin bash-completion
package.  Both x86 and x86_64 install /etc/bash_completion.d/perl:

https://cygwin.com/packages/x86/bash-completion/bash-completion-1.3-1
https://cygwin.com/packages/x86_64/bash-completion/bash-completion-1.3-1

Before we go any further with anything else, I think your next step
should probably be to install the Cygwin bash-completion package and
check what the behaviour is there.

I ran setup and I see a "Keep" for 2.1-1 of bash-completion. I believe that means it's already installed.

Additionally:

$ ls /usr/share/bash_completion.d/perl
ls: cannot access /usr/share/bash_completion.d/perl: No such file or directory
$ ll /usr/share/bash-completion/completions/perl
-rw-r--r-- 1 adefaria Domain Users 3569 Feb 9 2014 /usr/share/bash-completion/completions/perl
$ cygcheck -f /usr/share/bash-completion/completions/perl
bash-completion-2.1-1
$

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]