Fix loading order rc files

This commit is contained in:
lachtan
2022-02-06 21:06:36 +01:00
parent 1f71338909
commit 8fb2db302d

8
bashrc
View File

@@ -6,9 +6,15 @@ export LWS=$WORKSPACE
echo "Linux Workspace initialization $WORKSPACE_BASHRC"
for rc_file in $WORKSPACE/rc/*; do
if [[ -z $LC_ALL ]]; then
export LC_ALL=C
fi
for rc_file in $WORKSPACE/rc/*.sh; do
echo "LOAD $rc_file"
source $rc_file
done
append_path "$LWS/bin"
PATH="$(uniq_path)"