]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - runcoms/zshrc
Add M1 z config
[rbdr/dotfiles] / runcoms / zshrc
index 3166acf4435b378057f71538324ec12932ea0a59..98b59679d37f946ca6770fe62554f51008788e2f 100644 (file)
@@ -43,7 +43,7 @@ export VISUAL="nvim"
 # Python related variables
 export VIRTUAL_ENV_DISABLE_PROMPT=1
 export WORKON_HOME=$HOME/.virtualenvs
-export PROJECT_HOME=$HOME/Projects
+export PROJECT_HOME=$HOME/Documents/projects
 export VIRTUALENVWRAPPER_PYTHON="/usr/local/bin/python3"
 
 # GPG
@@ -79,10 +79,10 @@ if [[ -s "/opt/homebrew/bin/brew" ]]; then
 fi
 
 # Z
-if ! command -v brew &>  /dev/null; then
-  . /usr/local/etc/profile.d/z.sh
-else
+if [[ -s "/opt/homebrew/bin/brew" ]]; then
   . /opt/homebrew/etc/profile.d/z.sh
+else
+  . /usr/local/etc/profile.d/z.sh
 fi
 
 # ASDF