diff options
| author | Zhineng Li <[email protected]> | 2025-12-30 17:33:59 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2025-12-30 17:33:59 +0800 |
| commit | ba9ecf17161262a34ca395750bf18071bf6ce125 (patch) | |
| tree | 9b81206783abfd3ca96e150c1b64a26fb8a5a35c /.zshrc | |
| parent | 6661760ddef7730b593a6042721813c11781db4e (diff) | |
install nvm
Diffstat (limited to '.zshrc')
| -rw-r--r-- | .zshrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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" |
