f78c6b90fc18e2d0bb119ff549207463ce1d57a5
- Author
- Marc Cornellà <marc@mcornella.com>
- Committer
- Carlo Sala <carlosalag@protonmail.com>
- Date
Message
fix(async): fix crash on zsh < 5.0.6 (#12358)
Diff
1diff --git a/lib/async_prompt.zsh b/lib/async_prompt.zsh
2index a83c57f35327f4f3051a7db69f0a7f4765ed91ab..db48446e70351d34f535996c0c4e32afc69796d6 100644
3--- a/lib/async_prompt.zsh
4+++ b/lib/async_prompt.zsh
5@@ -124,7 +124,7 @@ function _omz_async_callback() {
6
7 # Repaint prompt if output has changed
8 if [[ "$old_output" != "${_OMZ_ASYNC_OUTPUT[$handler]}" ]]; then
9- zle reset-prompt
10+ zle .reset-prompt
11 zle -R
12 fi
13