diff options
author | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2017-03-16 10:12:38 +0000 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2017-03-16 10:12:38 +0000 |
commit | 17f4b98c3a959cd33c5a3c6b7242c61b9129ac03 (patch) | |
tree | 87ce8ad6c3f79db41a5f16a225afb076ad5cec51 | |
parent | more compose (diff) | |
download | dotfiles-17f4b98c3a959cd33c5a3c6b7242c61b9129ac03.tar.gz dotfiles-17f4b98c3a959cd33c5a3c6b7242c61b9129ac03.tar.bz2 dotfiles-17f4b98c3a959cd33c5a3c6b7242c61b9129ac03.zip |
perldoc on browser
-rw-r--r-- | .bash_profile | 6 |
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() { |