From aa4f0c6be8bb11e26313a8c6114df15078fa4930 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 21 Feb 2016 03:10:16 +0100 Subject: [PATCH] daily autocommit --- bash/bashrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/bash/bashrc b/bash/bashrc index 5fedb29..ba79e23 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -174,6 +174,22 @@ if type -t __git_ps1 >/dev/null ; then fi 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 # Try to keep environment pollution down, EPA loves us. -- 2.39.5