Powerlevel9k: POWERLEVEL9K_MODE isn't updated unless I manually source ~/.zshrc

Created on 15 Aug 2016  Â·  4Comments  Â·  Source: Powerlevel9k/powerlevel9k

As you can see in this screenshot, I started a new zsh session, then only a second later manually sourced my ~/.zshrc, and it looks drastically different:

I'd be fine with this, except for the fact that if I start another zsh session, the settings are once more reset until I source ~/.zshrc:

What could be going on here?

Most helpful comment

Most likely you are setting POWERLEVEL9K_MODE after you are loading p9k. All your p9k settings need to come before you load the theme. When you resource it is reloading the theme after the setting was set on the first run.

All 4 comments

Also note that this happens on both my terminals, Terminal.app and HyperTerm, so it's not an issue with my terminal emulator.

Most likely you are setting POWERLEVEL9K_MODE after you are loading p9k. All your p9k settings need to come before you load the theme. When you resource it is reloading the theme after the setting was set on the first run.

Ok, I'll try this.

On Mon, Aug 15, 2016 at 2:00 PM Robert Jorgenson [email protected]
wrote:

Most likely you are setting POWERLEVEL9K_MODE after you are loading p9k.
All your p9k settings need to come before you load the theme. When you
resource it is reloading the theme after the setting was set on the first
run.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bhilburn/powerlevel9k/issues/302#issuecomment-239877288,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ5Yr04vtGgfP-5Ik5zkQ8oubwB03Ga6ks5qgKkhgaJpZM4JkDcf
.

Works great, thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

agungsetiawan picture agungsetiawan  Â·  6Comments

natemccurdy picture natemccurdy  Â·  5Comments

xufab picture xufab  Â·  4Comments

TheBabu picture TheBabu  Â·  5Comments

jpdoria picture jpdoria  Â·  5Comments