Fix profile scope issue

This commit is contained in:
2026-07-19 13:03:32 -07:00
parent b5e18a1b29
commit bdb8c8b149
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -11,7 +11,9 @@ fi
source $HOME/.profile
# Define $POWERLINE_ROOT
if [ -f $HOME/.profile.local ]; then
set -a
source $HOME/.profile.local
set +a
fi
if [ -n "$DOTFILES_DIR" ] && [ -d "$DOTFILES_DIR" ]; then
+2
View File
@@ -37,7 +37,9 @@ COMPLETION_WAITING_DOTS="true"
source $HOME/.profile
# Define $POWERLINE_ROOT
if [ -f $HOME/.profile.local ]; then
set -a
source $HOME/.profile.local
set +a
fi
# Custom functions
+2
View File
@@ -3,7 +3,9 @@
# Source .profile.local in case it's been recently updated with repo
source "$HOME/.profile"
if [ -f "$HOME/.profile.local" ]; then
set -a
source "$HOME/.profile.local"
set +a
fi
if [ -f "$HOME/.dotfiles-config" ]; then
source "$HOME/.dotfiles-config"