Safety++
This commit is contained in:
parent
af1a7764bd
commit
2f72de023c
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
|
set -eo pipefail
|
||||||
|
|
||||||
cd "${HOME:?}/.bashrc.d" || (
|
cd "${HOME:?}/.bashrc.d" || (
|
||||||
echo ":: Can't cd into ${HOME:?}/.bashrc.d"
|
echo ":: Can't cd into ${HOME:?}/.bashrc.d"
|
||||||
|
@ -62,3 +63,5 @@ for file in startup.d/*; do
|
||||||
# shellcheck disable=SC1090
|
# shellcheck disable=SC1090
|
||||||
source "${file}"
|
source "${file}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
set +eo pipefail
|
||||||
|
|
Loading…
Reference in a new issue