mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Fix emotty theme when using zsh 5.2
see http://www.zsh.org/mla/workers/2015/msg03259.html
This commit is contained in:
parent
b908feebcf
commit
d97aa34372
1 changed files with 4 additions and 0 deletions
|
|
@ -68,6 +68,10 @@ prompt_glyph="%{%(#.${root_prompt}.${user_prompt}) %2G%}"
|
||||||
|
|
||||||
setopt promptsubst
|
setopt promptsubst
|
||||||
|
|
||||||
|
# Workaround for zsh 5.2 release (kudos to @timothybasanov)
|
||||||
|
autoload +X VCS_INFO_nvcsformats
|
||||||
|
functions[VCS_INFO_nvcsformats]=${functions[VCS_INFO_nvcsformats]/local -a msgs/}
|
||||||
|
|
||||||
autoload -U add-zsh-hook
|
autoload -U add-zsh-hook
|
||||||
autoload -Uz vcs_info
|
autoload -Uz vcs_info
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue