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

20 lines
349 B
Bash

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