Files
linux-workspace/bashrc
2022-02-06 21:09:06 +01:00

20 lines
357 B
Bash

# Linux Workspace bashrc boostrap
WORKSPACE_BASHRC=$(realpath $BASH_SOURCE)
export WORKSPACE=$(dirname $WORKSPACE_BASHRC)
export LWS=$WORKSPACE
echo "Linux Workspace initialization $WORKSPACE_BASHRC"
if [[ -z $LC_ALL ]]; then
export LC_ALL=C
fi
for rc_file in $WORKSPACE/rc/*.sh; do
source $rc_file
done
append_path "$LWS/bin"
PATH="$(uniq_path)"