mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-25 22:22:31 +01:00
Add Docs
This commit is contained in:
parent
037c47c093
commit
c7d04c855f
74 changed files with 15437 additions and 248 deletions
|
|
@ -1,22 +0,0 @@
|
|||
# Instant prompt
|
||||
|
||||
If your `~/.zshrc` loads many plugins, or perhaps just a few slow ones
|
||||
(for example, [pyenv](https://github.com/pyenv/pyenv) or [nvm](https://github.com/nvm-sh/nvm)), you
|
||||
may have noticed that it takes some time for Zsh to start.
|
||||
|
||||

|
||||
|
||||
Powerlevel10k can remove Zsh startup lag **even if it's not caused by a theme**.
|
||||
|
||||

|
||||
|
||||
This feature is called *Instant Prompt*. You need to explicitly enable it through `p10k configure`
|
||||
or [manually](#how-do-i-enable-instant-prompt). It does what it says on the tin -- prints prompt
|
||||
instantly upon Zsh startup allowing you to start typing while plugins are still loading.
|
||||
|
||||
Other themes *increase* Zsh startup lag -- some by a lot, others by a just a little. Powerlevel10k
|
||||
*removes* it outright.
|
||||
|
||||
*FAQ:* [How do I enable instant prompt?](#how-do-i-enable-instant-prompt)
|
||||
Loading…
Add table
Add a link
Reference in a new issue