this is my .zshrc file . vcs_info working for single quoted prompt but it's not working for double quoted prompt.
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git svn
zstyle ':vcs_info:git*' formats "- (%b) "
precmd() {
vcs_info
}
setopt prompt_subst
# prompt='%2/ ${vcs_info_msg_0_}> '
prompt="%2/ ${vcs_info_msg_0_}> "
but this not working.