aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-10-10 11:11:03 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-10-10 11:11:03 +0300
commitd827b5f0a358e0efddf0b248b1dd679bb35858d8 (patch)
treec033e4d1ce2e104515b740ea762c537040f27bf8
parent6b8009103905240e6ea30c789b4e86b9cb1fc88e (diff)
define POWERLEVEL9K_VCS_MAX_SYNC_LATENCY_SECONDS=0 in p10k-pure
-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.