Fix crashes

This commit is contained in:
JeremyStar™ 2024-06-03 02:21:14 +02:00
parent f2bfb0248c
commit c060e3af17
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -5,6 +5,7 @@ set -eo pipefail
# Cancel execution of system-wide punktdateien-bashrc if user-wide installation is detected
if [ -n "${BASHRCD_SYSTEM}" ] && [ -d "${HOME}/.bashrc.d" ] && [ -f "${HOME}/.bashrc.d/startup.sh" ]; then
set +eo pipefail
unset BASHRCD_SYSTEM
return 0
fi
@ -47,7 +48,7 @@ EOF
fi
# Load configuration file
source "config.sh"
if [ -f "config.sh" ] && source "config.sh"
# Process configuration changes
# -> Flow control