only run arch on Darwin

This commit is contained in:
Anthony Cicchetti 2023-01-21 14:02:18 -05:00
parent f8847f9ac1
commit 16639ae5f4

View file

@ -15,10 +15,12 @@ export KEYTIMEOUT=1
typeset -U path typeset -U path
typeset -U fpath typeset -U fpath
if [[ $(arch) == 'arm64' ]]; then if [[ $(uname) == 'Darwin' ]]; then
path+=('/opt/homebrew/bin') if [[ $(arch) == 'arm64' ]]; then
else path+=('/opt/homebrew/bin')
path+=('/usr/local/bin') else
path+=('/usr/local/bin')
fi
fi fi
hash -d -- -dotfiles=~/.dotfiles hash -d -- -dotfiles=~/.dotfiles