Prevent % from showing on unfinished lines

This commit is contained in:
Sindre Sorhus
2013-11-18 09:15:36 +01:00
parent 765e722453
commit 2a5b9b95a1

View File

@@ -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