Mac-iTerm-LaunchPad
view release on metacpan or search on metacpan
lib/Mac/iTerm/LaunchPad.pm view on Meta::CPAN
our $VERSION = '1.011';
=encoding utf8
=head1 NAME
Mac::iTerm::LaunchPad - open a new iTerm window with one or more tabs
=head1 SYNOPSIS
---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
lib/Mac/iTerm/LaunchPad.pm view on Meta::CPAN
paypal ~/Personal/Finances/PayPal
Since Mac OS X uses a case insenstive (though preserving) file system,
case doesn't matter. If you tricked Mac OS X into using something else,
use the right case and remove the C<lc()> in the code.
=head3 Default aliases
=over 4
=item desktop - the Desktop folder of the current user ( ~/Desktop )
=item home - home directory of the current user ( ~ )
=item music - music directory of the current user ( ~/Music )
=item applications - music directory of the current user ( ~/Applications )
=item finder - the directory of the frontmost finder window (defaults to Desktop)
=back
lib/Mac/iTerm/LaunchPad.pm view on Meta::CPAN
available under the same license.
=head1 SEE ALSO
iTerm - http://iterm.sourceforge.net/
=cut
# defaults
my %Aliases = qw(
desktop ~/Desktop
home ~
music ~/Music
applications /Applications
);
_run() unless caller;
sub _run {
_init();
( run in 0.349 second using v1.01-cache-2.11-cpan-299005ec8e3 )