mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 17:43:54 +08:00
fix mac setup script for zsh (#20708)
Co-authored-by: Ankush Girotra <ankush.girotra@dlzpgroup.com>
old-commit-hash: 18a59c0d4b
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user