From ba9ecf17161262a34ca395750bf18071bf6ce125 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Tue, 30 Dec 2025 17:33:59 +0800 Subject: install nvm --- .zshrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.zshrc') 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" -- cgit v1.2.3