diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-01-18 21:48:44 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-01-18 21:48:44 -0600 |
commit | e49975aef1bc853d6d8588cb003d4bf954f650b5 (patch) | |
tree | 7cbadc63845144991165b6f674e4e97e5112bada /bashrc | |
parent | 698a2772d10be449d05dd5db06b374f823a7a571 (diff) | |
download | conf-e49975aef1bc853d6d8588cb003d4bf954f650b5.tar.gz conf-e49975aef1bc853d6d8588cb003d4bf954f650b5.zip |
internals of perlbrew have changed
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -330,7 +330,9 @@ export PS1="\[\$__error_color\]\$__error \[${HIYELLOW}\][\t] \[${HIGREEN}\]\u@\h # set the correct perl {{{ if type -a perlbrew > /dev/null 2>&1; then function _setup_perlbrew { - local perl="$(readlink ${HOME}/perl5/perlbrew/perls/current)" + . ${HOME}/.perlbrew/init + local perl=$PERLBREW_PERL + [ -z $perl ] && perl="$(readlink ${HOME}/perl5/perlbrew/perls/current)" local pwd="${PWD#${HOME}}/" if [[ "${pwd:0:6}" == "/work/" ]]; then if [[ "$perl" != "work-perl" ]]; then |