aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-12-19 18:48:08 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-12-19 18:49:30 +0300
commitfa665ae4a779e6f59b4f32718daae233ca1d994d (patch)
treec108440986176872b9bb1d50b2482e02d6f3a708 /internal/p10k.zsh
parente72c6b9338830ef05c82fe4f9e0501b27bb106b3 (diff)
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.
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
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
}