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
- `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
-------

View File

@ -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'