From e03b8b9004758a9c2cf0ad6e76fe44f102c107fa Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Mon, 13 Aug 2012 20:05:30 -0400 Subject: [PATCH] Refactor Perl aliases --- modules/perl/README.md | 23 ++++++++++++----------- modules/perl/init.zsh | 23 ++++++++++++----------- 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/modules/perl/README.md b/modules/perl/README.md index 74e993e..90434eb 100644 --- a/modules/perl/README.md +++ b/modules/perl/README.md @@ -35,20 +35,21 @@ Aliases ### General - - `pe` executes a one line program in a loop (`perl -wlne`). - - `pd` looks up Perl documentation (`perldoc`). + - `pl` is short for `perl`. + - `pld` looks up Perl documentation (`perldoc`). + - `ple` executes a one line program in a loop (`perl -wlne`). ### Perlbrew - - `pb` manages Perl environments. - - `pba` lists available Perl versions. - - `pbi` installs a Perl version. - - `pbl` lists installed Perl versions. - - `pbo` temporarily turns off Perlbrew. - - `pbO` turns off Perlbrew. - - `pbs` switches to a Perl version. - - `pbu` uninstalls a Perl version. - - `pbx` temporarily sets the Perl version to use. + - `plb` manages Perl environments. + - `plba` lists available Perl versions. + - `plbi` installs a Perl version. + - `plbl` lists installed Perl versions. + - `plbo` temporarily turns off Perlbrew. + - `plbO` turns off Perlbrew. + - `plbs` switches to a Perl version. + - `plbu` uninstalls a Perl version. + - `plbx` temporarily sets the Perl version to use. Authors ------- diff --git a/modules/perl/init.zsh b/modules/perl/init.zsh index 3e4f7e8..6270128 100644 --- a/modules/perl/init.zsh +++ b/modules/perl/init.zsh @@ -44,17 +44,18 @@ fi # # General -alias pd='perldoc' -alias pe='perl -wlne' +alias pl='perl' +alias pld='perldoc' +alias ple='perl -wlne' # Perlbrew -alias pb='perlbrew' -alias pba='perlbrew available' -alias pbi='perlbrew install' -alias pbl='perlbrew list' -alias pbo='perlbrew off' -alias pbO='perlbrew switch-off' -alias pbs='perlbrew switch' -alias pbu='perlbrew use' -alias pbx='perlbrew uninstall' +alias plb='perlbrew' +alias plba='perlbrew available' +alias plbi='perlbrew install' +alias plbl='perlbrew list' +alias plbo='perlbrew off' +alias plbO='perlbrew switch-off' +alias plbs='perlbrew switch' +alias plbu='perlbrew use' +alias plbx='perlbrew uninstall'