From 5cff281c3e3c69ebb359652cdbfd30c757f2303e Mon Sep 17 00:00:00 2001 From: USER Date: Sat, 24 Aug 2024 11:34:31 +0100 Subject: [PATCH] . --- shared/bash_profile | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) 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