aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/p10k-classic.zsh13
-rw-r--r--config/p10k-lean.zsh13
-rw-r--r--config/p10k-pure.zsh12
-rw-r--r--config/p10k-rainbow.zsh13
4 files changed, 45 insertions, 6 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index 65e357e3..d8179312 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -813,8 +813,17 @@
typeset -g POWERLEVEL9K_EXAMPLE_FOREGROUND=208
typeset -g POWERLEVEL9K_EXAMPLE_VISUAL_IDENTIFIER_EXPANSION='${P9K_VISUAL_IDENTIFIER}'
- # When instant prompt is disabled, prompt won't appear until zsh is fully initialized.
- # typeset -g POWERLEVEL9K_DISABLE_INSTANT_PROMPT=true
+ # Instant prompt mode.
+ #
+ # - off: Disable instant prompt. Choose this if you've tried instant prompt and found
+ # it incompatible with your zsh configuration files.
+ # - quiet: Enable instant prompt and don't print warnings when detecting console output
+ # during zsh initialization. Choose this if you've read and understood
+ # https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt.
+ # - verbose: Enable instant prompt and print a warning when detecting console output during
+ # zsh initialization. Choose this if you've never tried instant prompt, haven't
+ # seen the warning, or if you are unsure what this all means.
+ typeset -g POWERLEVEL9K_INSTANT_PROMPT=verbose
}
(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]}
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 71151631..9e450186 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -793,8 +793,17 @@
typeset -g POWERLEVEL9K_EXAMPLE_FOREGROUND=208
typeset -g POWERLEVEL9K_EXAMPLE_VISUAL_IDENTIFIER_EXPANSION='${P9K_VISUAL_IDENTIFIER}'
- # When instant prompt is disabled, prompt won't appear until zsh is fully initialized.
- # typeset -g POWERLEVEL9K_DISABLE_INSTANT_PROMPT=true
+ # Instant prompt mode.
+ #
+ # - off: Disable instant prompt. Choose this if you've tried instant prompt and found
+ # it incompatible with your zsh configuration files.
+ # - quiet: Enable instant prompt and don't print warnings when detecting console output
+ # during zsh initialization. Choose this if you've read and understood
+ # https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt.
+ # - verbose: Enable instant prompt and print a warning when detecting console output during
+ # zsh initialization. Choose this if you've never tried instant prompt, haven't
+ # seen the warning, or if you are unsure what this all means.
+ typeset -g POWERLEVEL9K_INSTANT_PROMPT=verbose
}
(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]}
diff --git a/config/p10k-pure.zsh b/config/p10k-pure.zsh
index 5be28312..c91886a7 100644
--- a/config/p10k-pure.zsh
+++ b/config/p10k-pure.zsh
@@ -124,6 +124,18 @@
typeset -g POWERLEVEL9K_VCS_{COMMITS_AHEAD,COMMITS_BEHIND}_MAX_NUM=1
# Remove space between '⇣' and '⇡'.
typeset -g POWERLEVEL9K_VCS_CONTENT_EXPANSION='${P9K_CONTENT/⇣* ⇡/⇣⇡}'
+
+ # Instant prompt mode.
+ #
+ # - off: Disable instant prompt. Choose this if you've tried instant prompt and found
+ # it incompatible with your zsh configuration files.
+ # - quiet: Enable instant prompt and don't print warnings when detecting console output
+ # during zsh initialization. Choose this if you've read and understood
+ # https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt.
+ # - verbose: Enable instant prompt and print a warning when detecting console output during
+ # zsh initialization. Choose this if you've never tried instant prompt, haven't
+ # seen the warning, or if you are unsure what this all means.
+ typeset -g POWERLEVEL9K_INSTANT_PROMPT=verbose
}
(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]}
diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh
index a7cefe91..713ba18d 100644
--- a/config/p10k-rainbow.zsh
+++ b/config/p10k-rainbow.zsh
@@ -839,8 +839,17 @@
# typeset -g POWERLEVEL9K_EXAMPLE_FOREGROUND=4
typeset -g POWERLEVEL9K_EXAMPLE_VISUAL_IDENTIFIER_EXPANSION='${P9K_VISUAL_IDENTIFIER}'
- # When instant prompt is disabled, prompt won't appear until zsh is fully initialized.
- # typeset -g POWERLEVEL9K_DISABLE_INSTANT_PROMPT=true
+ # Instant prompt mode.
+ #
+ # - off: Disable instant prompt. Choose this if you've tried instant prompt and found
+ # it incompatible with your zsh configuration files.
+ # - quiet: Enable instant prompt and don't print warnings when detecting console output
+ # during zsh initialization. Choose this if you've read and understood
+ # https://github.com/romkatv/powerlevel10k/blob/master/README.md#instant-prompt.
+ # - verbose: Enable instant prompt and print a warning when detecting console output during
+ # zsh initialization. Choose this if you've never tried instant prompt, haven't
+ # seen the warning, or if you are unsure what this all means.
+ typeset -g POWERLEVEL9K_INSTANT_PROMPT=verbose
}
(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]}