Fix nvm detection

This commit is contained in:
TymanWasTaken 2022-08-02 20:40:43 -06:00
parent 7512827a65
commit aa19f19f6a
No known key found for this signature in database
GPG key ID: CE7836AA83D56858

View file

@ -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
#---------------------------------------------------------------------------------#