summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2016-05-17 17:13:55 +0100
committerdakkar <dakkar@thenautilus.net>2016-05-17 17:13:55 +0100
commit5b1df99651e9d39198d736da451ab711f8ef65c9 (patch)
tree2c429a0235b538ac10e4f3540de506017d019270 /.bash_profile
parentfix gtk key theme (diff)
downloaddotfiles-5b1df99651e9d39198d736da451ab711f8ef65c9.tar.gz
dotfiles-5b1df99651e9d39198d736da451ab711f8ef65c9.tar.bz2
dotfiles-5b1df99651e9d39198d736da451ab711f8ef65c9.zip
nicer perldoc
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile8
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