diff --git a/shared/bash_profile b/shared/bash_profile index 1042c50..88bf9a9 100644 --- a/shared/bash_profile +++ b/shared/bash_profile @@ -1,18 +1,20 @@ -if [ -f /zz/zShared/shared/bashrc ] -then - . /zz/zShared/shared/bashrc -fi +# If not running interactively, don't do anything and return early +[[ $- == *i* ]] || return +# if [ -f /zz/zShared/shared/bashrc ] +# then +# . /zz/zShared/shared/bashrc +# fi -if [ -f /zz/zPrivate/secrets/bashrc ] -then - . /zz/zPrivate/secrets/bashrc -else - if [ -f /zz/Syno/secrets/bashrc ] - then - . /zz/zSyno/secrets/bashrc - else +# if [ -f /zz/zPrivate/secrets/bashrc ] +# then +# . /zz/zPrivate/secrets/bashrc +# else +# if [ -f /zz/Syno/secrets/bashrc ] +# then +# . /zz/zSyno/secrets/bashrc +# else if [ -f ~/.bashrc ]; then source ~/.bashrc fi - fi -fi +# fi +# fi