From 2a5b9b95a1a7dbc1c4ce83571204bdbe447a7c8c Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Mon, 18 Nov 2013 09:15:36 +0100 Subject: [PATCH] Prevent `%` from showing on unfinished lines --- pure.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pure.zsh b/pure.zsh index d917aff..7a5eb23 100644 --- a/pure.zsh +++ b/pure.zsh @@ -77,6 +77,10 @@ prompt_pure_precmd() { prompt_pure_setup() { + # prevent percentage showing up + # if output doesn't end with a newline + export PROMPT_EOL_MARK='' + prompt_opts=(cr subst percent) autoload -Uz add-zsh-hook