Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Saturday January 20, 2007
02:47 AM

Mac::iTerm::LaunchPad

[ #32212 ]

Inspired by Ovid's terminal applescript, Chris wrote a Mac::Glue version for iTerm. I've turned that into Mac::iTerm::LaunchPad and given it even more features. It opens a new window with multiple tabs, one for each directory I specify. The arguments can be aliases (nicknames, not the fs type) for directories. Once I had this in came in very handy for developing itself and releasing itself.

---Frontmost finder directory, defaulting to desktop
% new-iterm
 
---Frontmost finder directory, using special alias
% new-iterm finder
 
---Named directory
% new-iterm /Users/brian/Dev
 
---Named directory with ~
% new-iterm ~/Dev
 
---Multiple tabs
% new-iterm ~/Dev ~/Foo ~/Bar
 
---Aliases, predefined in code
% new-iterm music applications
 
---Aliases, defined in your own ~/.new-iterm-aliases
% new-iterm foo bar baz

This should be one of those meme things. I tag dha, who now has to improve on it in some way.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.