From: Simon Strandgaard Date: 2004-03-11T01:29:37+09:00 Subject: Re: ruby power tools On Wed, 10 Mar 2004 16:04:33 +0000, gabriele renzi wrote: > il Wed, 10 Mar 2004 16:55:08 +0100, shasckaw ha > scritto:: > >>Has anybody already thought about a project like "Perl Power Tools" but >>in ruby? Here is the link: http://www.perl.com/language/ppt/ >>What do you think about that idea? >> > > from time to time people suggest it, togheter with a rubyshell. > But I don't think there is something real to look at. > That would be cool, anyway :) A rubyshell would be nice to have. At the moment I am using tcsh, which has good tab-completion features. However it would be really sweet if the completion code were Ruby. Here is some of my current completion rules (not pretty) complete make 'p@1@`awk -F: '\''/^[^ \t#\/][^=:]*:/ {print $1 }'\'' [Mm]akefile `@' complete gv "n/*/f:*{$PS,$PDF,$GZ}/" complete man 'p/*/c/' complete {vim,vi,more,less} 'n/*/f:^*.{o,a,dvi,gz,z,Z,zip,tgz}/' complete unzip 'n/*/f:*.{zip,ZIP}/' complete ruby 'n/*/f:*.{rb,erb}/' -- Simon Strandgaard