2016-08-16 16:26:50 -06:00
|
|
|
source "$HOME/.lib/shellpath.sh"
|
2015-08-15 22:32:15 -06:00
|
|
|
|
|
|
|
environment_variable_exists ENVIRONMENT_SETUP_DONE || _setup_env
|
2016-07-26 18:51:21 -06:00
|
|
|
|
|
|
|
# TODO(imalison): These need to run every time because of how their
|
|
|
|
# version managers work. This could cause problems with the situation
|
|
|
|
# where we want to intentionally override the python/ruby/node
|
|
|
|
# versions in use in a given shell.
|
2016-08-16 16:26:50 -06:00
|
|
|
|
|
|
|
# TODO: Ruby and node are disabled to speed up shell startup...
|
|
|
|
# See https://github.com/creationix/nvm/issues/709 for nvm
|
|
|
|
# _node_setup
|
|
|
|
|
|
|
|
# XXX: these were moved to _setup_env
|
|
|
|
# _ruby_setup
|
|
|
|
# _python_setup
|
|
|
|
|
|
|
|
function _source_shellenv_files {
|
|
|
|
for filename in ~/.lib/shellenv/*; do
|
|
|
|
source $filename
|
|
|
|
done
|
|
|
|
}
|
2016-07-26 18:51:21 -06:00
|
|
|
|
2015-08-15 22:32:15 -06:00
|
|
|
_source_shellenv_files
|