summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc5
-rwxr-xr-xsetup.sh3
2 files changed, 8 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 0694465..5beef03 100644
--- a/.zshrc
+++ b/.zshrc
@@ -22,3 +22,8 @@ alias gpull='git pull'
alias dotfiles='cd ~/.dotfiles'
alias dl='cd ~/Downloads'
alias update='brew update && brew upgrade && brew autoremove && brew cleanup'
+
+# Node version manager
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
diff --git a/setup.sh b/setup.sh
index c33d68b..5220cfa 100755
--- a/setup.sh
+++ b/setup.sh
@@ -51,3 +51,6 @@ fi
if [ ! -e "$HOME/.newsboat" ]; then
ln -s "$dotfiles/.newsboat" "$HOME/.newsboat"
fi
+
+# Install verion manager for node.js
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash