Fix profile scope issue
This commit is contained in:
@@ -11,7 +11,9 @@ fi
|
|||||||
source $HOME/.profile
|
source $HOME/.profile
|
||||||
# Define $POWERLINE_ROOT
|
# Define $POWERLINE_ROOT
|
||||||
if [ -f $HOME/.profile.local ]; then
|
if [ -f $HOME/.profile.local ]; then
|
||||||
|
set -a
|
||||||
source $HOME/.profile.local
|
source $HOME/.profile.local
|
||||||
|
set +a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$DOTFILES_DIR" ] && [ -d "$DOTFILES_DIR" ]; then
|
if [ -n "$DOTFILES_DIR" ] && [ -d "$DOTFILES_DIR" ]; then
|
||||||
|
|||||||
@@ -37,7 +37,9 @@ COMPLETION_WAITING_DOTS="true"
|
|||||||
source $HOME/.profile
|
source $HOME/.profile
|
||||||
# Define $POWERLINE_ROOT
|
# Define $POWERLINE_ROOT
|
||||||
if [ -f $HOME/.profile.local ]; then
|
if [ -f $HOME/.profile.local ]; then
|
||||||
|
set -a
|
||||||
source $HOME/.profile.local
|
source $HOME/.profile.local
|
||||||
|
set +a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Custom functions
|
# Custom functions
|
||||||
|
|||||||
@@ -3,7 +3,9 @@
|
|||||||
# Source .profile.local in case it's been recently updated with repo
|
# Source .profile.local in case it's been recently updated with repo
|
||||||
source "$HOME/.profile"
|
source "$HOME/.profile"
|
||||||
if [ -f "$HOME/.profile.local" ]; then
|
if [ -f "$HOME/.profile.local" ]; then
|
||||||
|
set -a
|
||||||
source "$HOME/.profile.local"
|
source "$HOME/.profile.local"
|
||||||
|
set +a
|
||||||
fi
|
fi
|
||||||
if [ -f "$HOME/.dotfiles-config" ]; then
|
if [ -f "$HOME/.dotfiles-config" ]; then
|
||||||
source "$HOME/.dotfiles-config"
|
source "$HOME/.dotfiles-config"
|
||||||
|
|||||||
Reference in New Issue
Block a user