From 5c63aa3f7cd6b237c13a9afab0dbd864da3b538a Mon Sep 17 00:00:00 2001 From: Ankush Girotra Date: Tue, 20 Apr 2021 19:28:10 -0500 Subject: [PATCH] fix mac setup script for zsh (#20708) Co-authored-by: Ankush Girotra old-commit-hash: 18a59c0d4b5660bf315e90a2574b744d17e471ee --- tools/mac_setup.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/mac_setup.sh b/tools/mac_setup.sh index 4b7d73a7e..19cb98653 100755 --- a/tools/mac_setup.sh +++ b/tools/mac_setup.sh @@ -53,7 +53,8 @@ if [ -z "$OPENPILOT_ENV" ] && [ -n "$RC_FILE" ] && [ -z "$CI" ]; then OP_DIR=$(git rev-parse --show-toplevel) echo "export PATH=\"\$PATH:$HOME/.cargo/bin\"" >> $RC_FILE echo "source $OP_DIR/tools/openpilot_env.sh" >> $RC_FILE - source $RC_FILE + export PATH="$PATH:\"\$HOME/.cargo/bin\"" + source "$OP_DIR/tools/openpilot_env.sh" echo "Added openpilot_env to RC file: $RC_FILE" fi @@ -64,3 +65,8 @@ eval "$(pyenv init -)" pip install pipenv==2020.8.13 pipenv install --system --deploy + +echo +echo "---- FINISH OPENPILOT SETUP ----" +echo "Configure your active shell env by running:" +echo "source $RC_FILE" \ No newline at end of file