summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bash_completion2
-rw-r--r--.bash_profile4
2 files changed, 3 insertions, 3 deletions
diff --git a/.bash_completion b/.bash_completion
index 4bbfc04..4eb8044 100644
--- a/.bash_completion
+++ b/.bash_completion
@@ -1,2 +1,2 @@
_xfunc perl _perldoc
-complete -F _perldoc -o bashdefault pm \ No newline at end of file
+complete -F _perldoc -o bashdefault pm pd
diff --git a/.bash_profile b/.bash_profile
index eb0bd75..493421b 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -21,14 +21,14 @@ function se() {
emacsclient "${@/#//sudo::}"
}
-function perldoc() {
+function pd() {
cpandoc "$@"
}
function pm() {
local fn
local ex
- fn="$(perldoc -lm "$1")"
+ fn="$(pd -lm "$1")"
ex=$?
if [[ $ex != 0 ]]; then
return $ex