From f02c2f45fa7182be7a4567ca50deeba91add26b6 Mon Sep 17 00:00:00 2001 From: Ryan Phillips Date: Mon, 31 Jan 2011 18:26:24 -0600 Subject: [PATCH] Fix prompt bug reported by stas https://github.com/robbyrussell/oh-my-zsh/issues#issue/43/comment/726953 --- lib/vcsinfo.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vcsinfo.zsh b/lib/vcsinfo.zsh index 68d0dfcb5..5f07f0793 100644 --- a/lib/vcsinfo.zsh +++ b/lib/vcsinfo.zsh @@ -11,7 +11,7 @@ typeset -ga precmd_functions autoload -Uz vcs_info zstyle ':vcs_info:git:*' check-for-changes true -zstyle ':vcs_info:git:*' formats "$ZSH_THEME_GIT_PROMPT_PREFIX%b%u%F$ZSH_THEME_GIT_PROMPT_SUFFIX" +zstyle ':vcs_info:git:*' formats "${ZSH_THEME_GIT_PROMPT_PREFIX}%b%u${ZSH_THEME_GIT_PROMPT_SUFFIX}" zstyle ':vcs_info:git:*' unstagedstr "$ZSH_THEME_GIT_PROMPT_DIRTY" zsh_vcsinfo_precmd() {