From 2ff680ce87e13954f69c95bbd702db8732ee2d85 Mon Sep 17 00:00:00 2001 From: Sebastian Bugge Date: Mon, 26 Jun 2023 10:40:55 +0200 Subject: [PATCH] fix nvm sourceing --- .profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.profile b/.profile index c3ddc06..346feee 100644 --- a/.profile +++ b/.profile @@ -17,7 +17,7 @@ if [ -d "$HOME/go" ]; then fi export NVM_DIR="$HOME/.nvm" -if [ -d "$NVM_DIR/nvm.sh" ]; then +if [ -s "$NVM_DIR/nvm.sh" ]; then \. "$NVM_DIR/nvm.sh" # This loads nvm \. "$NVM_DIR/bash_completion" # nvm bash completions fi