From e2d34f09afdbf395e2684558fcfa51cca221a517 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Thu, 16 Feb 2023 15:09:02 +0000 Subject: [PATCH] Add support for nvm --- zshrc.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zshrc.zsh b/zshrc.zsh index bb45c06..b9d340b 100644 --- a/zshrc.zsh +++ b/zshrc.zsh @@ -134,6 +134,11 @@ test -e ${HOME}/.iterm2_shell_integration.zsh && source ${HOME}/.iterm2_shell_in # Source the untracked `extra` file test -e $HOME/.extra && source $HOME/.extra +# Setup NVM +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 + # Init the fuck if type thefuck > /dev/null; then eval "$(thefuck --alias)"