From 2253e7288213910ea9cd4dc00db0b4a8a1b3b0fd Mon Sep 17 00:00:00 2001 From: James Ridgway Date: Sat, 21 Jan 2023 20:12:30 +0000 Subject: [PATCH] NVM --- zsh/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index 43c4b0b..cac6f87 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -54,3 +54,7 @@ export TF_PLUGIN_CACHE_DIR="${HOME}/.terraform.d/plugin-cache" [[ -f /home/james/code/useful/phone-api/node_modules/tabtab/.completions/slss.zsh ]] && . /home/james/code/useful/phone-api/node_modules/tabtab/.completions/slss.zsh eval "$(zellij setup --generate-auto-start zsh)" + +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