diff options
author | dakkar <dakkar@thenautilus.net> | 2015-06-13 11:10:42 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2015-06-13 11:10:42 +0100 |
commit | 1650b011d2e4b0c25e16225fe75d336372dd39b6 (patch) | |
tree | 46df33bf1c62d738beb9e44c95a68e25dc8d278a | |
parent | Import from nautilus (diff) | |
download | dotfiles-1650b011d2e4b0c25e16225fe75d336372dd39b6.tar.gz dotfiles-1650b011d2e4b0c25e16225fe75d336372dd39b6.tar.bz2 dotfiles-1650b011d2e4b0c25e16225fe75d336372dd39b6.zip |
fixup
-rw-r--r-- | .bash_profile | 11 |
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 |