summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMarc Cornellà <marc@mcornella.com>2024-04-03 19:55:46 +0200
committerMarc Cornellà <marc@mcornella.com>2024-04-03 20:09:19 +0200
commitec1afe9dd683c36e6384db25fc1e95acbb0cbc7a (patch)
treed0a3b68e7f3373fc333b68c0028e8074f243e1ea /README.md
parentb43b84abc77850a3734c127c38afdd7cf7739dc6 (diff)
downloadzsh-ec1afe9dd683c36e6384db25fc1e95acbb0cbc7a.tar.gz
zsh-ec1afe9dd683c36e6384db25fc1e95acbb0cbc7a.tar.bz2
zsh-ec1afe9dd683c36e6384db25fc1e95acbb0cbc7a.zip
feat(git)!: enable async git prompt (now for real)
BREAKING CHANGE: the new async prompt feature will render prompt information asyncronously and degrade nicely when the calls take too long to finish, as the prompt will already be first drawn and interactive. This is enabled by default for the git prompt and themes that use it (`git_prompt_info`). If you find that it's not working for you, please open an issue if one is not already opened, and see https://github.com/ohmyzsh/ohmyzsh#disable-async-git-prompt for how to turn it off.
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index b3561a833..2ba374335 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,7 @@ To learn more, visit [ohmyz.sh](https://ohmyz.sh), follow [@ohmyzsh](https://twi
- [Custom Plugins And Themes](#custom-plugins-and-themes)
- [Enable GNU ls In macOS And freeBSD Systems](#enable-gnu-ls-in-macos-and-freebsd-systems)
- [Skip Aliases](#skip-aliases)
+ - [Disable async git prompt](#disable-async-git-prompt)
- [Getting Updates](#getting-updates)
- [Updates Verbosity](#updates-verbosity)
- [Manual Updates](#manual-updates)
@@ -361,6 +362,17 @@ Instead, you can now use the following:
zstyle ':omz:lib:directories' aliases no
```
+### Disable async git prompt
+
+Async prompt functions are an experimental feature (included on April 3, 2024) that allows Oh My Zsh to render prompt information
+asyncronously. This can improve prompt rendering performance, but it might not work well with some setups. We hope that's not an
+issue, but if you're seeing problems with this new feature, you can turn it of by setting the following in your .zshrc file,
+before Oh My Zsh is sourced:
+
+```sh
+zstyle ':omz:alpha:lib:git' async-prompt no
+```
+
#### Notice <!-- omit in toc -->
> This feature is currently in a testing phase and it may be subject to change in the future.