On 5/2/05, Jacob Fugal <lukfugl / gmail.com> wrote:> On Apr 30, 2005, at 4:09 PM, Gavin Kistner wrote:> > Sorry if I got anyone unduly excited - this isn't an announcement> > of such a beast.> >> > I want this - I'd love a simple dashboard widget that put IRB> > always at my fingertips.> > On 4/30/05, Richard Kilmer <rich / infoether.com> wrote:> > I totally agree re: dashboard widget.  There is a 'system' call in> > the dashboard API and wrapping irb should be really straightforward.> > Due to prior coding commitments, however, I may not be the first to> > get this done ;-)> > (Disclaimer: I'm not home to test this on my own OSX)> > Wouldn't it be possible to do something like this with QuickSilver[1]?> It'd be sweet to just hit command-space-irb from anywhere and have a> new irb session. No need for the mouse or anything, just five quick> keystrokes...
While these are both great ideas (I would certainly use one of them ifthey were available) I used another easy way to get IRB moreaccessible.
Just set up a terminal window, change the background color, and hitsave to save a term file. Specify irb as the program to run, and saveto ~/Library/Application Support/Terminal/IRB.term.
Now, using the keyboard prefpane, add a key combo in Terminal for"IRB". "I" isn't taken, so I used that. Also, if you havequicksilver, it will index the Application support folder, andIRB.term will probably come up first on the list when you type "irb";giving another easy access method.
But if anyone makes the dashboard widget, I'll use that :)
cheers,Mark