From 215f5c9bb8b09a22736bdf0aacd34a47b754cc9c Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Thu, 18 Aug 2022 14:17:51 -0400 Subject: [PATCH] Check if config is created before using it --- scripts/setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/setup.sh b/scripts/setup.sh index ca5eea6..5766fdc 100644 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -1,7 +1,9 @@ #! /bin/bash # Load user settings from config file. -. ~/.config/settings.conf +if [ -e ~/.config/settings.conf ]; then + . ~/.config/settings.conf +fi dotdir=~/dotfiles