tweaked to remove some old junk, and add rust

This commit is contained in:
Luke 2023-05-29 13:45:56 -07:00
parent 5748a2178e
commit 569bedc92b
5 changed files with 15 additions and 12 deletions

View file

@ -67,7 +67,7 @@ __LOAD_DIRS=(
/opt/makemkv
/opt/icestorm
/opt/gemini
$HOME/.gem/ruby/2.7.0
$HOME/.local/share/gem/ruby/3.0.0
)
for DIR_EXPAND in ${__LOAD_DIRS[@]}; do
loadDirectory $DIR_EXPAND
@ -89,3 +89,15 @@ if [ -d "$HOME/.local" ] ; then
export XDG_DATA_HOME="$HOME/.local/share"
fi
fi
unset pathStripAdd pathStrip loadDirectory
###########
# If rust is a thing, load it
if [[ -d "$HOME/.cargo" ]]; then
[[ -x "$HOME/.cargo/env" ]] && (
echo "sourcing..."
source "$HOME/.cargo/env"
echo "sourced..."
)
fi