[ZSH] More ARM fixes
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
ARCH=`uname -m`
|
||||
if [[ $ARCH == "arm64" ]]; then
|
||||
PREFIX="/opt/homebrew"
|
||||
else
|
||||
PREFIX="/usr/local"
|
||||
fi
|
||||
|
||||
export WORKON_HOME=~/python-envs
|
||||
export VIRTUALENVWRAPPER_VIRTUALENV=/usr/local/bin/virtualenv
|
||||
export VIRTUALENVWRAPPER_VIRTUALENV=$PREFIX/bin/virtualenv
|
||||
mkdir -p $WORKON_HOME
|
||||
source /opt/homebrew/bin/virtualenvwrapper.sh
|
||||
source $PREFIX/bin/virtualenvwrapper.sh
|
||||
|
||||
Reference in New Issue
Block a user