unset use_color safe_term match_lhs
if [ -d /usr/scripts ] ; then
- PATH=/usr/scripts:$PATH
- export PATH
+ export PATH="/usr/scripts:${PATH}"
fi
-if [ -d $HOME/bin ] ; then
- PATH=$PATH:$HOME/bin
- export PATH
+if [ -d "${HOME}/bin" ] ; then
+ export PATH="${PATH}:${HOME}/bin"
fi
-if [ -d $HOME/lib ] ; then
- PERL5LIB=$HOME/lib
- export PERL5LIB
+#if [ -d $HOME/lib ] ; then
+# PERL5LIB=$HOME/lib
+# export PERL5LIB
+#fi
+if [ -d "$HOME/lib" ] ; then
+ if [ -d "$HOME/lib/perl" ] ; then
+ if [ -z "${PERL5LIB}" ] ; then
+ export PERL5LIB="$HOME/lib/perl"
+ else
+ export PERL5LIB="$HOME/lib/perl:${PERL5LIB}"
+ fi
+ fi
+ if [ -d "$HOME/lib/python" ] ; then
+ if [ -z "${PYTHONPATH}" ] ; then
+ export PYTHONPATH="$HOME/lib/python"
+ else
+ export PYTHONPATH="$HOME/lib/python:${PYTHONPATH}"
+ fi
+ fi
fi
+
#if [[ ${EUID} == 0 ]] ; then
# alias ll="ls -lA"
#else