From ebec3ca33954c82d0f8fe67bd531ba7460372824 Mon Sep 17 00:00:00 2001 From: Sebastian Bugge Date: Sun, 25 Jun 2023 22:35:56 +0200 Subject: [PATCH] add support for local profile --- .profile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.profile b/.profile index c24de1a..47cd31d 100644 --- a/.profile +++ b/.profile @@ -17,6 +17,8 @@ if [ -d "$HOME/go" ]; then fi export NVM_DIR="$HOME/.nvm" -if [ -d "$NVM_DIR/nvm.sh" ]; then - \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm + +if [ -d "$HOME/.local_profile" ] ; then + . "$HOME/.local_profile" fi