public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* perl -d causes completion to fail
@ 2014-10-14 23:22 Andrew DeFaria
  2014-10-15 18:47 ` Adam Dinwoodie
  0 siblings, 1 reply; 12+ messages in thread
From: Andrew DeFaria @ 2014-10-14 23:22 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-10-22 17:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-14 23:22 perl -d causes completion to fail Andrew DeFaria
2014-10-15 18:47 ` Adam Dinwoodie
2014-10-15 21:31   ` Andrew DeFaria
2014-10-15 22:09     ` Andrew DeFaria
2014-10-20 11:23       ` Adam Dinwoodie
2014-10-20 17:04         ` Andrew DeFaria
2014-10-20 20:05           ` Ken Brown
2014-10-20 21:04             ` Andrew DeFaria
2014-10-22 14:50               ` Adam Dinwoodie
2014-10-22 17:09                 ` Andrew DeFaria
2014-10-22 17:32                   ` Ken Brown
2014-10-22 17:09                 ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).