From b557af7233d6a9bf030ebae7116f7a9a12c7a3ef Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 9 Oct 2016 23:12:04 -0700 Subject: [PATCH] [Shell] Fixup racket_setup --- dotfiles/lib/shellpath.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/dotfiles/lib/shellpath.sh b/dotfiles/lib/shellpath.sh index 7bd5297c..25460e0c 100644 --- a/dotfiles/lib/shellpath.sh +++ b/dotfiles/lib/shellpath.sh @@ -114,13 +114,11 @@ function _tex_setup { } 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 + 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 }