aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-pure.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'config/p10k-pure.zsh')
-rw-r--r--config/p10k-pure.zsh9
1 files changed, 7 insertions, 2 deletions
diff --git a/config/p10k-pure.zsh b/config/p10k-pure.zsh
index c5031b4d..50f5f3fc 100644
--- a/config/p10k-pure.zsh
+++ b/config/p10k-pure.zsh
@@ -78,10 +78,15 @@
# unlikely to be desired by anyone but that's how Pure does it.
typeset -g POWERLEVEL9K_VCS_FOREGROUND=242
- # Disable async loading indicator to make directories that aren't git repositories
- # indistinguishable from large git repositories without known state. This is unlikely
+ # Disable async loading indicator to make directories that aren't Git repositories
+ # indistinguishable from large Git repositories without known state. This is unlikely
# to be desired by anyone but that's how Pure does it.
typeset -g POWERLEVEL9K_VCS_LOADING_TEXT=
+
+ # Don't wait for Git status even for a millisecond, so that prompt always updates asynchronously
+ # when Git state changes. This is unlikely to be desired by anyone but that's how Pure does it.
+ typeset -g POWERLEVEL9K_VCS_MAX_SYNC_LATENCY_SECONDS=0
+
# Cyan ahead/behind arrows.
typeset -g POWERLEVEL9K_VCS_{INCOMING,OUTGOING}_CHANGESFORMAT_FOREGROUND=cyan
# Don't show remote branch, current tag or stashes.