From e6b8dbffaad61bb31ef49d700f07627a6bd74f7a Mon Sep 17 00:00:00 2001 From: Kaleb Elwert Date: Sat, 18 Mar 2017 01:12:56 -0700 Subject: [PATCH] Ensure prompt_subst is unset when the expanded preprompt is stored (#305) --- pure.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pure.zsh b/pure.zsh index 59f8f117..b56ee152 100644 --- a/pure.zsh +++ b/pure.zsh @@ -185,6 +185,8 @@ prompt_pure_preprompt_render() { # redraw prompt (also resets cursor position) zle && zle .reset-prompt + + setopt no_prompt_subst fi # store both unexpanded and expanded preprompt for comparison