Old versions of zsh choke on =~, just use = instead.