aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-pure.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-10-26 21:43:38 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-10-26 21:43:38 +0300
commit627d471fca17425ded63678bc84f81fbc84eaf70 (patch)
treec93dd440dc362e33d944916ab093fb457e118af8 /config/p10k-pure.zsh
parentf17081ca98c9347a3e0ce1829337bfb909178ff9 (diff)
improve instant prompt usability, update docs and add an option to the wizard to enable it
Diffstat (limited to 'config/p10k-pure.zsh')
-rw-r--r--config/p10k-pure.zsh12
1 files changed, 12 insertions, 0 deletions
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[@]}