diff options
author | dakkar <dakkar@thenautilus.net> | 2016-05-18 10:44:11 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2016-10-15 14:09:28 +0100 |
commit | e2234edfff5997041525519e65d6d1c50c6646c1 (patch) | |
tree | 123f51fee5effd348000d4f4a49f926321518f9d | |
parent | Merge remote-tracking branch 'origin/master' into nautilus (diff) | |
download | dotfiles-e2234edfff5997041525519e65d6d1c50c6646c1.tar.gz dotfiles-e2234edfff5997041525519e65d6d1c50c6646c1.tar.bz2 dotfiles-e2234edfff5997041525519e65d6d1c50c6646c1.zip |
short alias for perldoc
-rw-r--r-- | .bash_completion | 2 | ||||
-rw-r--r-- | .bash_profile | 4 |
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 |