From: root Date: Sun, 21 Feb 2016 02:10:16 +0000 (+0100) Subject: daily autocommit X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=aa4f0c6be8bb11e26313a8c6114df15078fa4930;p=config%2Fhelga%2Fetc.git daily autocommit --- 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.