changeset 260:15543c169f36

A few changes thanks to loading node.js stuff, makes sense since I might use it elsewhere too.
author Steve Huston <huston@srhuston.net>
date Sat, 30 Mar 2024 11:17:23 -0400
parents 09e37b590785
children 7651a91983cd
files .bashrc
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
+