From 2849eceab137d352cce8871f568ea0e69c215425 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Wed, 8 Mar 2017 21:57:04 -0500 Subject: [PATCH] Source cargo env on OSX --- zshenv | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshenv b/zshenv index 93beaac..d853c22 100644 --- a/zshenv +++ b/zshenv @@ -40,6 +40,10 @@ fi #export PATH=/usr/local/sbin:/usr/local/bin:${PATH} path=($HOME/bin ${ANSIBLE_DIR}/bin ${RBENV_PATH}/bin $HOME/.vim/scripts $HOME/.personal-files/oss/by-lang/elixir/elixir/bin $path) +if [[ $platform == 'Darwin' ]]; then + source $HOME/.cargo/env +fi + # Start rbenv eval "$(rbenv init -)"