[shell] Fix shellenv source ordering

This commit is contained in:
Ivan Malison 2017-07-20 12:08:00 -07:00
parent fa9e51a00a
commit 146424ae4c
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1,8 +1,5 @@
source "$HOME/.lib/shellpath.sh" 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 environment_variable_exists ENVIRONMENT_SETUP_DONE || _setup_env
# TODO(imalison): These need to run every time because of how their # 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 _python_setup
source_directory_files "$HOME/.lib/shellenv" source_directory_files "$HOME/.lib/shellenv"
test -r ~/.customenv.sh && source ~/.customenv.sh
source_if_exists ~/.this-machine-env.sh