#/* vim: set filetype=sh : */
# Bash expanded paths
# dimio (dimio.org)
# http://dimio.org/bash-born-again-shell-obolochka-komandnoj-stroki.html
# VERSION='0.02'

# CPAN paths & shell variables
PATH="${HOME}/perl5/bin${PATH+:}${PATH}"; export PATH;
PERL5LIB="${HOME}/perl5/lib/perl5${PERL5LIB+:}${PERL5LIB}"; export PERL5LIB;
PERL_LOCAL_LIB_ROOT="${HOME}/perl5${PERL_LOCAL_LIB_ROOT+:}${PERL_LOCAL_LIB_ROOT}"; export PERL_LOCAL_LIB_ROOT;
PERL_MB_OPT="--install_base \"${HOME}/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=${HOME}/perl5"; export PERL_MM_OPT;

# "bin" in user home
# eq PATH+=":${HOME}/bin" (for bash shell)
[[ -d "${HOME}/bin" ]] && export PATH="${PATH}${PATH+:}${HOME}/bin"
[[ -d "${HOME}/.sys_scripts" ]] && export PATH="${PATH}${PATH+:}${HOME}/.sys_scripts"