diff --git a/my_home/.bashrc b/my_home/.bashrc index 99493a3..bdc8af2 100644 --- a/my_home/.bashrc +++ b/my_home/.bashrc @@ -33,13 +33,17 @@ fi ## Exports ## -# For Perl/CPAN +# For Perl/CPAN/Perlbrew if [ -d $HOME/perl5 ]; then export PATH="/home/daniel/perl5/bin${PATH:+:${PATH}}" export PERL5LIB="/home/daniel/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}" export PERL_LOCAL_LIB_ROOT="/home/daniel/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}" export PERL_MB_OPT="--install_base \"/home/daniel/perl5\"" export PERL_MM_OPT="INSTALL_BASE=/home/daniel/perl5" + + if [ -r $HOME/perl5/perlbrew/etc/bashrc ]; then + . $HOME/perl5/perlbrew/etc/bashrc + fi fi # For Raku/zef @@ -81,6 +85,4 @@ export PS1='\u@\h:\w\$ ' ## Misc ## # Prevent line wrapping mess -if command -v shopt > /dev/null 2>&1; then - shopt -s checkwinsize -fi +shopt -s checkwinsize