[Shell] Racket mode setup
This commit is contained in:
parent
7df5e7ce1d
commit
f944c478b2
@ -16,6 +16,7 @@ function _setup_env {
|
|||||||
_haskell_setup
|
_haskell_setup
|
||||||
_java_setup
|
_java_setup
|
||||||
_go_setup
|
_go_setup
|
||||||
|
_racket_setup
|
||||||
_rust_setup
|
_rust_setup
|
||||||
_tex_setup
|
_tex_setup
|
||||||
|
|
||||||
@ -112,6 +113,17 @@ function _tex_setup {
|
|||||||
is_osx && add_to_path "/Library/TeX/texbin/"
|
is_osx && add_to_path "/Library/TeX/texbin/"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function _racket_setup {
|
||||||
|
if command_exists; then
|
||||||
|
if is_osx; then
|
||||||
|
local racket_base_path="$(brew --prefix racket)"
|
||||||
|
# XXX: Seems maybe this is not needed
|
||||||
|
# local newest_version_number="$(ls \"$racket_base_path\" | sort -Vr | head -n1)"
|
||||||
|
add_to_path "$racket_base_path/bin" --before
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
function _emacs_setup {
|
function _emacs_setup {
|
||||||
add_to_path "$HOME/.evm/bin" "$HOME/.cask/bin" --before
|
add_to_path "$HOME/.evm/bin" "$HOME/.cask/bin" --before
|
||||||
command_exists evm || curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash
|
command_exists evm || curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash
|
||||||
|
Loading…
Reference in New Issue
Block a user