Add evm and _emacs_setup to shell path

This commit is contained in:
Ivan Malison 2016-08-26 16:36:42 -07:00
parent 7c2669af81
commit 5ef6659279
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -7,6 +7,7 @@ function _setup_env {
_ruby_setup _ruby_setup
_python_setup _python_setup
is_osx && _osx_path_setup is_osx && _osx_path_setup
_emacs_setup
_java_setup _java_setup
_go_setup _go_setup
_rust_setup _rust_setup
@ -88,6 +89,11 @@ function _tex_setup {
is_osx && add_to_path "/Library/TeX/texbin/" is_osx && add_to_path "/Library/TeX/texbin/"
} }
function _emacs_setup {
add_to_path "$HOME/.evm/bin" --before
command_exists evm || curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash
}
function _path_helper { function _path_helper {
if [ -f /usr/libexec/path_helper ]; if [ -f /usr/libexec/path_helper ];
then then