Files
linux-workspace/bashrc
lachtan obecny b3026487f0 Opravy z macos
2026-07-13 06:06:18 +02:00

27 lines
509 B
Bash

# Linux Workspace bashrc boostrap
WORKSPACE_BASHRC=$(realpath $BASH_SOURCE)
export WORKSPACE=$(dirname $WORKSPACE_BASHRC)
export LWS=$WORKSPACE
LWS_DEBUG=${LWS_DEBUG:-0}
LWS_FAST=${LWS_FAST:-0}
source "$LWS/functions.sh"
if [[ -z $LC_ALL ]]; then
export LC_ALL=en_US.UTF-8
fi
if is_interactive_shell; then
echo "Linux Workspace initialization"
fi
source_directory_sh "$LWS/rc"
source_directory_sh "$HOME/.bashrc.d"
append_path "$LWS/bin"
append_path "$LWS/opt/bin"
set_system_paths
set_uniq_path