diff --git a/README.md b/README.md index b39707b..e2b3031 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,8 @@ This prompt has been tested on numerous Linux and BSD distributions, as well as
Here are the latest features and updates. +- v3.11.4 + + An oversight in the function `prompt_agkozak-zsh-prompt_setup` was preventing final partial lines from being displayed ([#46](https://github.com/agkozak/agkozak-zsh-prompt/issues/46)). Many thanks to Josh Rosen for jogging my memory of default Zsh handling of such situations. - v3.11.3 + [A bug was fixed in Zsh 5.8 itself](https://www.zsh.org/mla/workers/2019/msg00252.html) that had required the `subst-async` method to do extra forking as a workaround. The code for `subst-async` has been updated to reflect the bug fix. The majority of users default to the `usr1` async method, however, which is unaffected. - v3.11.2 diff --git a/agkozak-zsh-prompt.plugin.zsh b/agkozak-zsh-prompt.plugin.zsh index ec26373..5ceb6b2 100644 --- a/agkozak-zsh-prompt.plugin.zsh +++ b/agkozak-zsh-prompt.plugin.zsh @@ -1005,9 +1005,9 @@ _agkozak_prompt_strings() { prompt_agkozak-zsh-prompt_setup() { # `emulate -L zsh' has been removed for promptinit # compatibility - typeset -g prompt_opts - prompt_opts=( percent subst ) - setopt NO_PROMPT_{BANG,CR,PERCENT,SUBST} "PROMPT_${^prompt_opts[@]}" + typeset -ga prompt_opts + prompt_opts=( cr percent sp subst ) + setopt NO_PROMPT_{BANG,PERCENT,SUBST} "PROMPT_${^prompt_opts[@]}" _agkozak_async_init