From 60eb78630dbeb7d0568787f3b820cf6f8fbcbdc8 Mon Sep 17 00:00:00 2001 From: Olivier Mehani Date: Fri, 27 Apr 2018 15:18:33 +1000 Subject: [PATCH] [plugins/async-prompt] Add decorator for stale RPROMPT Add ZSH_THEME_ASYNC_PROMPT_OLD_PREFIX and ZSH_THEME_ASYNC_PROMPT_OLD_SUFFIX for themes to use. Signed-off-by: Olivier Mehani --- plugins/async-prompt/async-prompt.plugin.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/async-prompt/async-prompt.plugin.zsh b/plugins/async-prompt/async-prompt.plugin.zsh index c2888eff0..f8ecdc765 100644 --- a/plugins/async-prompt/async-prompt.plugin.zsh +++ b/plugins/async-prompt/async-prompt.plugin.zsh @@ -18,6 +18,7 @@ function precmd() { } # do not clear RPROMPT, let it persist + RPROMPT="${ZSH_THEME_ASYNC_PROMPT_OLD_PREFIX}${RPROMPT}${ZSH_THEME_ASYNC_PROMPT_OLD_SUFFIX}" # kill child if necessary if [[ "${ASYNC_PROC}" != 0 ]]; then