[ZSH] More ARM fixes
This commit is contained in:
1 parent
796510f1da
commit
4b9610dfb9
3 files changed
+19
-7
No files matched your search
@@ -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