summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to '.bash_profile')
-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() {