mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-09-26 23:04:34 +00:00
doc cleanup
This commit is contained in:
@@ -241,9 +241,13 @@ the output, or move it above the instant prompt preamble.
|
|||||||
Here's an example of `~/.zshrc` that breaks when instant prompt is enabled:
|
Here's an example of `~/.zshrc` that breaks when instant prompt is enabled:
|
||||||
|
|
||||||
```zsh
|
```zsh
|
||||||
|
# OK to perform console I/O before this point.
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
# From this point on, until zsh is fully initialized, console input won't work and
|
||||||
|
# console output may appear uncolored.
|
||||||
|
|
||||||
keychain id_rsa --agents ssh # asks for password
|
keychain id_rsa --agents ssh # asks for password
|
||||||
chatty-script # spams to stdout even when everything is fine
|
chatty-script # spams to stdout even when everything is fine
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user