only run arch
on Darwin
This commit is contained in:
parent
f8847f9ac1
commit
16639ae5f4
1 changed files with 6 additions and 4 deletions
10
zsh/zshrc
10
zsh/zshrc
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue