From a7c36de720b0ca70aa8b54e4ef6abb8760758e8f Mon Sep 17 00:00:00 2001 From: Olaf Alexander Date: Mon, 28 Oct 2024 15:29:23 -0500 Subject: [PATCH] chore(zsh): Setup NVM for Mac --- dot-config/zsh/dot-zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dot-config/zsh/dot-zshrc b/dot-config/zsh/dot-zshrc index d87c737..c7f8bcc 100644 --- a/dot-config/zsh/dot-zshrc +++ b/dot-config/zsh/dot-zshrc @@ -41,6 +41,11 @@ zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath' # Aliases [[ -s "$ZDOTDIR/aliases" ]] && source "$ZDOTDIR/aliases" +# NVM +export NVM_DIR="$HOME/.config/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 + # Shell configurations eval "$(starship init zsh)" source <(fzf --zsh)