1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 12:20:07 +00:00

define POWERLEVEL9K_VCS_MAX_SYNC_LATENCY_SECONDS=0 in p10k-pure

This commit is contained in:
romkatv 2019-10-10 10:11:03 +02:00
parent 6b80091039
commit d827b5f0a3

View file

@ -78,10 +78,15 @@
# unlikely to be desired by anyone but that's how Pure does it. # unlikely to be desired by anyone but that's how Pure does it.
typeset -g POWERLEVEL9K_VCS_FOREGROUND=242 typeset -g POWERLEVEL9K_VCS_FOREGROUND=242
# Disable async loading indicator to make directories that aren't git repositories # Disable async loading indicator to make directories that aren't Git repositories
# indistinguishable from large git repositories without known state. This is unlikely # indistinguishable from large Git repositories without known state. This is unlikely
# to be desired by anyone but that's how Pure does it. # to be desired by anyone but that's how Pure does it.
typeset -g POWERLEVEL9K_VCS_LOADING_TEXT= 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. # Cyan ahead/behind arrows.
typeset -g POWERLEVEL9K_VCS_{INCOMING,OUTGOING}_CHANGESFORMAT_FOREGROUND=cyan typeset -g POWERLEVEL9K_VCS_{INCOMING,OUTGOING}_CHANGESFORMAT_FOREGROUND=cyan
# Don't show remote branch, current tag or stashes. # Don't show remote branch, current tag or stashes.