mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Fix prompt bug reported by stas
https://github.com/robbyrussell/oh-my-zsh/issues#issue/43/comment/726953
This commit is contained in:
parent
7a0182e692
commit
f02c2f45fa
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue