Detect Arch for ZSH hook.