Changed comparison to equals because old zsh doesn't support =~