diff options
author | dakkar <dakkar@thenautilus.net> | 2016-05-17 17:13:55 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2016-05-17 17:13:55 +0100 |
commit | 5b1df99651e9d39198d736da451ab711f8ef65c9 (patch) | |
tree | 2c429a0235b538ac10e4f3540de506017d019270 | |
parent | fix gtk key theme (diff) | |
download | dotfiles-5b1df99651e9d39198d736da451ab711f8ef65c9.tar.gz dotfiles-5b1df99651e9d39198d736da451ab711f8ef65c9.tar.bz2 dotfiles-5b1df99651e9d39198d736da451ab711f8ef65c9.zip |
nicer perldoc
-rw-r--r-- | .bash_profile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile index 8cad899..eb0bd75 100644 --- a/.bash_profile +++ b/.bash_profile @@ -21,10 +21,14 @@ function se() { emacsclient "${@/#//sudo::}" } +function perldoc() { + cpandoc "$@" +} + function pm() { local fn local ex - fn="$(perldoc -l "$1")" + fn="$(perldoc -lm "$1")" ex=$? if [[ $ex != 0 ]]; then return $ex @@ -32,5 +36,7 @@ function pm() { emacsclient -c -n "$fn" } +export PERLDOC='-MPod::Text::Color::Delight' + fortune |