summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianni Ceccarelli <gianni.ceccarelli@broadbean.com>2017-03-16 10:12:38 +0000
committerGianni Ceccarelli <gianni.ceccarelli@broadbean.com>2017-03-16 10:12:38 +0000
commit17f4b98c3a959cd33c5a3c6b7242c61b9129ac03 (patch)
tree87ce8ad6c3f79db41a5f16a225afb076ad5cec51
parentmore compose (diff)
downloaddotfiles-17f4b98c3a959cd33c5a3c6b7242c61b9129ac03.tar.gz
dotfiles-17f4b98c3a959cd33c5a3c6b7242c61b9129ac03.tar.bz2
dotfiles-17f4b98c3a959cd33c5a3c6b7242c61b9129ac03.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() {