diff options
author | dakkar <dakkar@thenautilus.net> | 2016-05-18 10:44:11 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2016-05-18 10:44:11 +0100 |
commit | 1b7ffd6c12c04da1b65f1f8a18d85addbcb6b279 (patch) | |
tree | 4c6003f6b41c335021c3b971ff39702b3b89f403 /.bash_profile | |
parent | nicer perldoc (diff) | |
download | dotfiles-1b7ffd6c12c04da1b65f1f8a18d85addbcb6b279.tar.gz dotfiles-1b7ffd6c12c04da1b65f1f8a18d85addbcb6b279.tar.bz2 dotfiles-1b7ffd6c12c04da1b65f1f8a18d85addbcb6b279.zip |
short alias for perldoc
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.bash_profile b/.bash_profile index eb0bd75..493421b 100644 --- a/.bash_profile +++ b/.bash_profile @@ -21,14 +21,14 @@ function se() { emacsclient "${@/#//sudo::}" } -function perldoc() { +function pd() { cpandoc "$@" } function pm() { local fn local ex - fn="$(perldoc -lm "$1")" + fn="$(pd -lm "$1")" ex=$? if [[ $ex != 0 ]]; then return $ex |