mirror of
https://github.com/opensiriusfox/bashrc.d.git
synced 2025-06-16 20:31:15 -07:00
tweaked to remove some old junk, and add rust
This commit is contained in:
parent
5748a2178e
commit
569bedc92b
5 changed files with 15 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue