From 7126443d469431c75e183852b0b0110ac726858f Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Thu, 12 Sep 2024 06:16:45 -0700 Subject: [PATCH] profile: source local env --- .profile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.profile b/.profile index 780fc7c..bf429dd 100644 --- a/.profile +++ b/.profile @@ -5,7 +5,11 @@ export PROFILE_LOADED=true export SHELL_CONFIG_DIR="${SHELL_CONFIG_DIR:-"${XDG_CONFIG_HOME:-"$HOME/.config"}/shell"}" -. "$SHELL_CONFIG_DIR/env" +for f in "$SHELL_CONFIG_DIR/local/env" "$SHELL_CONFIG_DIR/env"; do + if test -f "$f"; then + . "$f" + fi +done # Locales export LC_ALL=en_US.UTF-8