zsh: make variable local in dir_cycle