mirror of https://github.com/ohmyzsh/ohmyzsh.git
This fix conditionally registers the git prompt async handler only if `git_prompt_info` is used anywhere in the prompt variables. This is done in the proper order, so that the async request is processed once the handler has been registered. This fix also passes the return value of the previous command to each of the async handlers, in case they are needed. |
||
---|---|---|
.. | ||
async_prompt.zsh | ||
bzr.zsh | ||
cli.zsh | ||
clipboard.zsh | ||
compfix.zsh | ||
completion.zsh | ||
correction.zsh | ||
diagnostics.zsh | ||
directories.zsh | ||
functions.zsh | ||
git.zsh | ||
grep.zsh | ||
history.zsh | ||
key-bindings.zsh | ||
misc.zsh | ||
nvm.zsh | ||
prompt_info_functions.zsh | ||
spectrum.zsh | ||
termsupport.zsh | ||
theme-and-appearance.zsh | ||
vcs_info.zsh |