From 35929ef900e92c03d136dc4e79d6e73208d7280b Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 3 Aug 2016 06:25:50 +0200 Subject: [PATCH] daily autocommit --- profile.d/fbrehm.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/profile.d/fbrehm.sh b/profile.d/fbrehm.sh index e5dc469..1992965 100644 --- a/profile.d/fbrehm.sh +++ b/profile.d/fbrehm.sh @@ -124,6 +124,33 @@ if [[ -f ~/.bash_aliases ]]; then . ~/.bash_aliases fi +if [ -d /usr/scripts ] ; then + PATH=/usr/scripts:$PATH + export PATH +fi + +if [ -d $HOME/bin ] ; then + PATH=$PATH:$HOME/bin + export PATH +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 + # enable bash completion in interactive shells if ! shopt -oq posix; then if [[ -f /usr/share/bash-completion/bash_completion ]]; then -- 2.39.5