aboutsummaryrefslogtreecommitdiff
path: root/zshenv
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2019-08-22 15:21:09 +0100
committeroreodave <aryadevchavali1@gmail.com>2019-08-22 15:21:09 +0100
commit4f93d7dcc6115dd35163dd2cc5a8df8f3dd2f5de (patch)
treeae3c849549f384f6c0af3042aa73bc175e8d348c /zshenv
parent2513390b2b26af2b2966d331b0949e68b1be520c (diff)
downloaddotfiles-4f93d7dcc6115dd35163dd2cc5a8df8f3dd2f5de.tar.gz
dotfiles-4f93d7dcc6115dd35163dd2cc5a8df8f3dd2f5de.tar.bz2
dotfiles-4f93d7dcc6115dd35163dd2cc5a8df8f3dd2f5de.zip
+config for nvm, node version manager
Diffstat (limited to 'zshenv')
-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