Fix profile scope issue
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user