aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zshenv5
1 files changed, 5 insertions, 0 deletions
diff --git a/zshenv b/zshenv
index de40989..524edf8 100644
--- a/zshenv
+++ b/zshenv
@@ -39,3 +39,8 @@ web () {
# OPAM configuration
. /home/oreodave/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true
+
+#NVM config
+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