# HG changeset patch # User Steve Huston # Date 1711811843 14400 # Node ID 15543c169f360673f475b2841a5deb7e8d65cfea # Parent 09e37b590785cf0e8ff711f1d04314c54d1cc2e2 A few changes thanks to loading node.js stuff, makes sense since I might use it elsewhere too. diff -r 09e37b590785 -r 15543c169f36 .bashrc --- a/.bashrc Thu Mar 28 20:06:31 2024 -0400 +++ b/.bashrc Sat Mar 30 11:17:23 2024 -0400 @@ -34,6 +34,9 @@ export GEM_HOME=$HOME/Installs/rubygems/gems export TOMENET_PATH=$HOME/Installs/tomenet/lib/ export HOST=`hostname -s` +# Since I've started playing with some node.js things, this is included in its +# setup. +export NVM_DIR="$HOME/.config/nvm" if [ -f $HOME/.screen/$HOST ]; then export SCREENRC=$HOME/.screen/$HOST @@ -107,6 +110,9 @@ fi done +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + # Now make sure $HOME/bin is top of the list (or at least present) if [ -d $HOME/bin ]; then [[ $PATH =~ (^|:)$HOME/bin($|:) ]] || \ @@ -129,3 +135,4 @@ [[ $MIBDIRS =~ ^\+ ]] || export MIBDIRS=+$MIBDIRS export MIBS=ALL fi +