summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2015-06-13 11:10:42 +0100
committerdakkar <dakkar@thenautilus.net>2015-06-13 11:10:42 +0100
commit1650b011d2e4b0c25e16225fe75d336372dd39b6 (patch)
tree46df33bf1c62d738beb9e44c95a68e25dc8d278a
parentImport from nautilus (diff)
downloaddotfiles-1650b011d2e4b0c25e16225fe75d336372dd39b6.tar.gz
dotfiles-1650b011d2e4b0c25e16225fe75d336372dd39b6.tar.bz2
dotfiles-1650b011d2e4b0c25e16225fe75d336372dd39b6.zip
fixup
-rw-r--r--.bash_profile11
1 files changed, 11 insertions, 0 deletions
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