From 1650b011d2e4b0c25e16225fe75d336372dd39b6 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 13 Jun 2015 11:10:42 +0100 Subject: fixup --- .bash_profile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.bash_profile b/.bash_profile index 47aae0f..c3d4e4a 100644 --- a/.bash_profile +++ b/.bash_profile @@ -21,5 +21,16 @@ function se() { emacsclient "${@/#//sudo::}" } +function pm() { + local fn + local ex + fn="$(perldoc -l "$1")" + ex=$? + if [[ $ex != 0 ]]; then + return $ex + fi + emacsclient -c -n "$fn" +} + fortune -- cgit v1.2.3