From f086ec925c632fa07c728ef91f5c3d4aa28deb1f Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Wed, 18 Sep 2024 10:27:26 -0400 Subject: [PATCH] zsh: Source nvm properly --- brew/Brewfile | 1 + zsh/.zshrc | 1 + zsh/darwin.zshrc | 3 +++ 3 files changed, 5 insertions(+) diff --git a/brew/Brewfile b/brew/Brewfile index 711e54d..a7efdf2 100644 --- a/brew/Brewfile +++ b/brew/Brewfile @@ -23,6 +23,7 @@ brew "imagemagick" brew "jq" brew "moreutils" brew "neovim" +brew "nvm" brew "pipenv" brew "protolint" brew "python" diff --git a/zsh/.zshrc b/zsh/.zshrc index fbd287f..10876a0 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -73,6 +73,7 @@ ${prompt}" export RPROMPT='' # aliases +source $HOME/.profile source $HOME/.config/zsh/aliases source $HOME/.config/zsh/j.sh diff --git a/zsh/darwin.zshrc b/zsh/darwin.zshrc index 3d69ae7..bec0d3d 100644 --- a/zsh/darwin.zshrc +++ b/zsh/darwin.zshrc @@ -6,3 +6,6 @@ export LSCOLORS='Exgxbxdxcxegedabagacad' alias units='gunits --verbose' source ~/.profile + +[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && source "/opt/homebrew/opt/nvm/nvm.sh" +[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && source "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm"