From fa665ae4a779e6f59b4f32718daae233ca1d994d Mon Sep 17 00:00:00 2001 From: romkatv Date: Thu, 19 Dec 2019 16:48:08 +0100 Subject: [PATCH] bug fix: don't print an empty line after the ruler If the visibility of ruler is 'print', there is an extra empty line printed after it. With 'show' there is no extra empty line (as expected). With this commit there is no empty line in either case. Fixes #383. --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index bf84f122..b2907ecb 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -4283,7 +4283,7 @@ function _p9k_on_expand() { () { (( __p9k_ksh_arrays )) && setopt ksh_arrays (( __p9k_sh_glob )) && setopt sh_glob - print -rP -- $ruler + print -rnP -- $ruler } fi }