diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 807eb78..4243a7b 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -8,7 +8,7 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] fi #---------------------------------------------------------------------------------# ### Load nvm if script is in aur location -if [[ ! -f /usr/share/nvm/init-nvm.sh ]]; then +if [[ -f /usr/share/nvm/init-nvm.sh ]]; then source /usr/share/nvm/init-nvm.sh fi #---------------------------------------------------------------------------------#