]> Frank Brehm's Git Trees - config/helga/etc.git/commitdiff
daily autocommit
authorroot <root@helga.brehm-online.com>
Sun, 21 Feb 2016 02:10:16 +0000 (03:10 +0100)
committerroot <root@helga.brehm-online.com>
Sun, 21 Feb 2016 02:10:16 +0000 (03:10 +0100)
bash/bashrc

index 5fedb29b438f3f59e9607a85a58e06e659517c08..ba79e23f0efa9c91fe0f0eee8706e72b4e278ce6 100644 (file)
@@ -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.