From b6d0624e34d80f6232a768386a137f00f6fffcfa Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Tue, 3 Jun 2025 08:34:02 -0700 Subject: [PATCH] Include nvm path configuration in profile --- .profile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.profile b/.profile index ba34100..f62f687 100644 --- a/.profile +++ b/.profile @@ -26,6 +26,12 @@ if [ -d "${KREW_ROOT:-$HOME/.krew}/bin" ] ; then PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH" fi +if [ -d "$HOME/.nvm" ] ; then + export NVM_DIR="$HOME/.nvm" + [ -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 +fi + # Set nvim as the preferred editor if available if [ $(which nvim) ]; then export EDITOR=nvim