Closed tmpm697 closed 4 years ago
Powerlevel10k has Instant Prompt, which is better than zsh-defer. So if you are using Powerlevel10k, enable instant prompt and don't use zsh-defer
.
I use instant prompt but we still have to source powerlevel10k.zsh-theme
in powerlevel10k to make instance prompt work?
That is what I want to leverage it a bit by defer sourcing powerlevel10k.zsh-theme
.
I think you misunderstand what zsh-defer does. You should not use zsh-defer if you are using Powerlevel10k.
In readme you said that it's compatible with powerlevel10k.
I understand that instant prompt will promise to give as its name but can you give reason why it echoes output when comes to defer it?
In readme you said that it's compatible with powerlevel10k.
This says that you can use zsh-defer
to to load plugins when you are using Powerlevel10k with Instant Prompt. It also says that you shouldn't.
can you give reason why it echoes output when comes to defer it?
No idea.
I want to gain a little speed when defer powerlevel10k plugin with
zsh-defer
but I got output as below when I defer~/.cache/p10k-instant-prompt-${(%):-%n}.zsh
and~/.p10k.zsh
I have
.zshrc
:zsh version: zsh 5.8 (x86_64-pc-linux-gnu) terminal: st tmux version: tmux next-3.2
When I start new z-shell in a tmux's pane, and then start another z-shell (prefix+), it old shell will echoes below output/mesg:
This is output when I just create new shell but do not create another shell:
then if I press enter, it will bring back my custom shell prompt.
I expect there's no output/errors and the shell's prompt should appear as my customed shell's prompt.
I also can't properly defer
zsh-syntax-highlighting.plugin.zsh
but I'll ask it on reddit instead.Thanks for creating another piece of art, I find it really helpful, even find it faster than
zplugin
when at least comes to cpu usage.