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]

perl -d causes completion to fail


I'm a big fan of Perl and using Perl's debugger (i.e. perl -d <script>), however I noticed that Bash completion works if I say perl <scr... then tab but fails if I say perl -d <scr... The <script> doesn't complete! (and no I don't mean the actual characters <script> rather the script filename).

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