From 17f4b98c3a959cd33c5a3c6b7242c61b9129ac03 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Thu, 16 Mar 2017 10:12:38 +0000 Subject: perldoc on browser --- .bash_profile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() { -- cgit v1.2.3