10 lines
198 B
Bash
10 lines
198 B
Bash
#!/bin/zsh
|
|
for RC_FILE in $(find "${0:a:h}/rc.d/" -type f | sort)
|
|
do
|
|
source "${RC_FILE}" || {
|
|
echo "something went wrong in '${RC_FILE}'; aborting dotwryn load early"
|
|
return 1
|
|
}
|
|
done
|
|
return 0
|