Refactor Perl aliases

This commit is contained in:
Sorin Ionescu 2012-08-13 20:05:30 -04:00
parent 2183f64d31
commit e03b8b9004
2 changed files with 24 additions and 22 deletions

View File

@ -35,20 +35,21 @@ Aliases
### General ### General
- `pe` executes a one line program in a loop (`perl -wlne`). - `pl` is short for `perl`.
- `pd` looks up Perl documentation (`perldoc`). - `pld` looks up Perl documentation (`perldoc`).
- `ple` executes a one line program in a loop (`perl -wlne`).
### Perlbrew ### Perlbrew
- `pb` manages Perl environments. - `plb` manages Perl environments.
- `pba` lists available Perl versions. - `plba` lists available Perl versions.
- `pbi` installs a Perl version. - `plbi` installs a Perl version.
- `pbl` lists installed Perl versions. - `plbl` lists installed Perl versions.
- `pbo` temporarily turns off Perlbrew. - `plbo` temporarily turns off Perlbrew.
- `pbO` turns off Perlbrew. - `plbO` turns off Perlbrew.
- `pbs` switches to a Perl version. - `plbs` switches to a Perl version.
- `pbu` uninstalls a Perl version. - `plbu` uninstalls a Perl version.
- `pbx` temporarily sets the Perl version to use. - `plbx` temporarily sets the Perl version to use.
Authors Authors
------- -------

View File

@ -44,17 +44,18 @@ fi
# #
# General # General
alias pd='perldoc' alias pl='perl'
alias pe='perl -wlne' alias pld='perldoc'
alias ple='perl -wlne'
# Perlbrew # Perlbrew
alias pb='perlbrew' alias plb='perlbrew'
alias pba='perlbrew available' alias plba='perlbrew available'
alias pbi='perlbrew install' alias plbi='perlbrew install'
alias pbl='perlbrew list' alias plbl='perlbrew list'
alias pbo='perlbrew off' alias plbo='perlbrew off'
alias pbO='perlbrew switch-off' alias plbO='perlbrew switch-off'
alias pbs='perlbrew switch' alias plbs='perlbrew switch'
alias pbu='perlbrew use' alias plbu='perlbrew use'
alias pbx='perlbrew uninstall' alias plbx='perlbrew uninstall'