From c0848fca907dfa3ab3dc62fc65ffa17e85e69a26 Mon Sep 17 00:00:00 2001 From: jason Date: Mon, 17 Jun 2024 11:36:01 -0600 Subject: support for nvm --- bash/.bashrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bash') diff --git a/bash/.bashrc b/bash/.bashrc index 8ad71a3..18b04c5 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -354,6 +354,11 @@ if [ -d /opt/homebrew/opt/texinfo/bin ]; then export PATH="/opt/homebrew/opt/texinfo/bin:$PATH" fi +if [ -d "$HOME/.nvm" ] && [ -s $HOME/.nvm/nvm.sh ]; then + export NVM_DIR="${HOME}/.nvm" + . "$NVM_DIR/nvm.sh" +fi + # If __git_ps1 is enabled, set that up. if [[ $(type -t __git_ps1) == function ]]; then GIT_PS1_SHOWDIRTYSTATE=1 # Show unstaged and staged indicators -- cgit v1.2.1