Load perlbrew if needed

https://github.com/sorin-ionescu/prezto/pull/1130#issuecomment-236660106
This commit is contained in:
delphinus 2017-01-07 18:33:32 +09:00
parent 9694fb74ef
commit 98fad48895

View file

@ -10,6 +10,20 @@ if (( ! $+commands[perl] )); then
return 1
fi
#
# Load Perlbrew
#
# Load Perlbrew into the shell session.
if [[ -s "${HOME}/perl5/perlbrew/etc/bashrc" ]]; then
source "${HOME}/perl5/perlbrew/etc/bashrc"
# Load Perlbrew completion.
if [[ -s "${HOME}/perl5/perlbrew/etc/perlbrew-completion.bash" ]]; then
source "${HOME}/perl5/perlbrew/etc/perlbrew-completion.bash"
fi
fi
#
# Local Module Installation
#