Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
I'm quite new to the world of zsh and oh-my-zsh, and I just spent a few hours playing with powerlevel9k customization.
I currently have one issue I can't solve. Let me explain my config, and then detail what my issue is.
I use iTerm2 on macOS 10.14.2 Font is the patched Sauce Code Pro for Powerline from NerdFonts. Everything is kept up-to-date.
My prompt contains 4 lines,
one with status from previous command and various hardware info,
one blank
one with dir / vcs info
one with context info
Here is a screenshot of my config:
And here is my .zshrc:
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_DISABLE_RPROMPT=true
POWERLEVEL9K_MODE="awesome-fontconfig"
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(status history date time battery ip public_ip ram swap background_jobs newline newline dir_writable dir vcs newline root_indicator os_icon context anaconda)
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=""
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%F{yellow}❯ "
POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX_ICON=""
POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX=""
POWERLEVEL9K_DATE_FORMAT=%D{%Y.%m.%d}
ZSH_THEME="powerlevel9k"
[...]
plugins=(git gitfast zsh-syntax-highlighting zsh-autosuggestions)
My problem
As you can see, although I removed all new line prefix elements, all but first line of my multiline prompt start with a weird separator symbol. I found some pages about similar issues (#977), but no solution worked for me.
Hello all,
I'm quite new to the world of
zsh
andoh-my-zsh
, and I just spent a few hours playing withpowerlevel9k
customization.I currently have one issue I can't solve. Let me explain my config, and then detail what my issue is.
I use iTerm2 on macOS 10.14.2 Font is the patched
Sauce Code Pro for Powerline
from NerdFonts. Everything is kept up-to-date.My prompt contains 4 lines,
Here is a screenshot of my config:
And here is my
.zshrc
:My problem
As you can see, although I removed all new line prefix elements, all but first line of my multiline prompt start with a weird separator symbol. I found some pages about similar issues (#977), but no solution worked for me.
Is this a bug of something I messed up ?