From 146424ae4c14d52e32e894455f312735ca41e8fc Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 20 Jul 2017 12:08:00 -0700 Subject: [PATCH] [shell] Fix shellenv source ordering --- dotfiles/lib/shellenv.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotfiles/lib/shellenv.sh b/dotfiles/lib/shellenv.sh index 8a1c7a6f..01ff199a 100644 --- a/dotfiles/lib/shellenv.sh +++ b/dotfiles/lib/shellenv.sh @@ -1,8 +1,5 @@ source "$HOME/.lib/shellpath.sh" -test -r ~/.customenv.sh && source ~/.customenv.sh -source_if_exists ~/.this-machine-env.sh - environment_variable_exists ENVIRONMENT_SETUP_DONE || _setup_env # TODO(imalison): These need to run every time because of how their @@ -19,3 +16,6 @@ environment_variable_exists ENVIRONMENT_SETUP_DONE || _setup_env _python_setup source_directory_files "$HOME/.lib/shellenv" + +test -r ~/.customenv.sh && source ~/.customenv.sh +source_if_exists ~/.this-machine-env.sh