why doesn't this one work in zsh, but `local ROOT` etc above work fine?