Refactor Perl aliases

main
Sorin Ionescu 12 years ago
parent 2183f64d31
commit e03b8b9004

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

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

Loading…
Cancel
Save