theme now declares variables as local to avoid name clashing

This resolves ISSUE #2665 https://github.com/robbyrussell/oh-my-zsh/issues/2665#issuecomment-54776537