From d827b5f0a358e0efddf0b248b1dd679bb35858d8 Mon Sep 17 00:00:00 2001 From: romkatv Date: Thu, 10 Oct 2019 10:11:03 +0200 Subject: [PATCH] define POWERLEVEL9K_VCS_MAX_SYNC_LATENCY_SECONDS=0 in p10k-pure --- config/p10k-pure.zsh | 9 +++++++-- 1 file 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.