Closed nogweii closed 5 months ago
I have installed Python on my M1 macbook pro via Homebrew. Python is installed as /opt/homebrew/bin/python3. I'm including zsh-autoswitch-virtualenv (cloned as a git submodule) like so:
/opt/homebrew/bin/python3
[ -n "${commands[python3]}" ] && AUTOSWITCH_DEFAULT_PYTHON=python3 source ${DOTSDIR}/zsh/plugins/autoswitch-virtualenv/autoswitch_virtualenv.plugin.zsh AUTOSWITCH_SILENT='yes'
I believe this is because #176 changed the command that is checked, not including the check for the value of $AUTOSWITCH_DEFAULT_PYTHON.
$AUTOSWITCH_DEFAULT_PYTHON
I have installed Python on my M1 macbook pro via Homebrew. Python is installed as
/opt/homebrew/bin/python3
. I'm including zsh-autoswitch-virtualenv (cloned as a git submodule) like so:I believe this is because #176 changed the command that is checked, not including the check for the value of
$AUTOSWITCH_DEFAULT_PYTHON
.