-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POWERLEVEL9K_MULTILINE_(FIRST/LAST)_PROMPT_PREFIX Not Applied #4
Comments
When I define these options I get the same prompt in Powerlevel10k as in Powerlevel9k. Make sure you define all POWERLEVEL9K options before you source the theme. Powerlevel10k supports fewer dynamic configuration changes. Here's how I tested it: docker run -e LANG=C.UTF-8 -e LC_ALL=C.UTF-8 -e TERM=$TERM -it --rm ubuntu bash -c '
set -uex
apt update
apt install -y zsh git
cd
git clone https://github.com/romkatv/gitstatus.git
git clone https://github.com/romkatv/powerlevel10k.git
echo "
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=""
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%F{012}❯ "
source ~/gitstatus/gitstatus.plugin.zsh
source ~/powerlevel10k/powerlevel10k.zsh-theme" >~/.zshrc
zsh -i
' |
Fixed. Turns out some extra work is required with my plugin manager to ensure the configs are set prior to loading. For possible future reference I will leave this here:
|
Reorganize segments
I have a config with:
While this works on the powerlevel9k repository but when I switch to powerlevel10k these variables do not seem to be applied.
The text was updated successfully, but these errors were encountered: