cfg/.xprofile
Knut Ahlers bfeb8b689f
Fix: set -u breaks X startup
as other scripts are relying on unset variables
2024-09-23 17:01:26 +02:00

8 lines
204 B
Bash
Executable file

#!/usr/bin/env bash
set -eo pipefail
[[ -d ${HOME}/.xprofile.d ]] && {
for lc in $(find ${HOME}/.xprofile.d -name '*.zsh' -o -name '*.sh'); do
[[ -e $lc ]] && source ${lc} || true
done
} || true