Fix non-functioning profile script call in bash

This commit is contained in:
Manuel Thalmann 2024-03-25 19:19:27 +01:00
parent 362ac681cf
commit 88c61772aa

View file

@ -7,7 +7,11 @@ env:
path: []
script:
- value: |
[ -n "$(bash -c 'shopt -s nullglob; echo {/etc,~/.config}/bash/conf.d/*')" ] && . {/etc,~/.config}/bash/conf.d/* || true
find {/etc,~/.config}/bash/conf.d/* 2> /dev/null |
while IFS= read -r -d '' file;
do
. "$file";
done;
if: match .Shell "bash"
- value: |
# Profile Files