From 232d914bd466c9a664dfb73515ec665b3f554285 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 6 Feb 2019 19:13:17 -0500 Subject: [PATCH] Init nvm --- bash/.bashrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bash/.bashrc b/bash/.bashrc index 8b5135b..8e34dd0 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -30,3 +30,11 @@ fi alias edit="$(which emacsclient)" EDITOR="$(which emacsclient)" export EDITOR + + +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