summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianni Ceccarelli <gianni.ceccarelli@broadbean.com>2017-03-16 10:12:38 +0000
committerdakkar <dakkar@thenautilus.net>2017-03-16 18:31:34 +0000
commit753f8e1e3d2b6ffbe6e3f7bb9db973254a1de528 (patch)
treef37557791935c5aeb372e2be4c91b2a182a34f05
parentmore compose (diff)
downloaddotfiles-753f8e1e3d2b6ffbe6e3f7bb9db973254a1de528.tar.gz
dotfiles-753f8e1e3d2b6ffbe6e3f7bb9db973254a1de528.tar.bz2
dotfiles-753f8e1e3d2b6ffbe6e3f7bb9db973254a1de528.zip
perldoc on browser
-rw-r--r--.bash_profile6
1 files changed, 5 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile
index 493421b..923f310 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -22,7 +22,11 @@ function se() {
}
function pd() {
- cpandoc "$@"
+ if [[ $1 == -b ]]; then
+ firefox "https://metacpan.org/pod/$2"
+ else
+ cpandoc "$@"
+ fi
}
function pm() {