From: "Michael C. Libby" Date: 2005-01-14T21:26:45+09:00 Subject: Re: A patch for irb, where to submit? On Fri, Jan 14, 2005 at 02:01:14PM +0900, Csaba Henk wrote: > I hacked irb/completion.rb such that now it does filename completion (not > just ruby expression completion). (A word is completed as a filename if it > begins with ./, ../, /, or ~/ .) I think this feature is close to being > essential for those who tend using irb as a better shell (like me)... Wow. I've never had method-name completion until I read this post and thought "but I already have filename completion!" Then I actually RTFM and find that to get method-name completion I have to require 'irb/completion'. Which, of course, clobbers filename completion. This patch will be very nice for keeping filename completion around. So thank you! How about doing the filename matching if the word starts with " or ' ? When I'm doing path work I tend to avoid the use of ./, ../, and ~/, opting for either explicitly declaring a path or just assuming that we have already chdir'ed to the correct directory. Just wanted to inject the idea into the discussion, obviously I'll be patching the patch to do it on my own system. :) -Michael