From: Frank Brehm Date: Wed, 3 Aug 2016 04:25:50 +0000 (+0200) Subject: daily autocommit X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=35929ef900e92c03d136dc4e79d6e73208d7280b;p=config%2Fsarah%2Fetc.git daily autocommit --- 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