mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-25 00:21:58 +00:00
tone down the downsides of pure
This commit is contained in:
parent
f1d295ca65
commit
40c062c3b9
1 changed files with 8 additions and 13 deletions
|
@ -1,7 +1,5 @@
|
||||||
# Config file for Powerlevel10k with the style of Pure (https://github.com/sindresorhus/pure).
|
# Config file for Powerlevel10k with the style of Pure (https://github.com/sindresorhus/pure).
|
||||||
#
|
#
|
||||||
# Installation: simply source this file from ~/.zshrc.
|
|
||||||
#
|
|
||||||
# Differences from Pure:
|
# Differences from Pure:
|
||||||
#
|
#
|
||||||
# - Git:
|
# - Git:
|
||||||
|
@ -9,13 +7,12 @@
|
||||||
# - No automatic `git fetch` (the same as in Pure with `PURE_GIT_PULL=0`).
|
# - No automatic `git fetch` (the same as in Pure with `PURE_GIT_PULL=0`).
|
||||||
#
|
#
|
||||||
# Apart from the differences listed above, the replication of Pure prompt is exact. This includes
|
# Apart from the differences listed above, the replication of Pure prompt is exact. This includes
|
||||||
# even the bad parts. For example, just like in Pure, prompt provides no indication of Git status
|
# even the questionable parts. For example, just like in Pure, there is no indication of Git status
|
||||||
# being stale; prompt symbol is the same in command, visual and overwrite vi modes; when prompt
|
# being stale; prompt symbol is the same in command, visual and overwrite vi modes; when prompt
|
||||||
# doesn't fit on one line, it wraps around with no attempt to shorten anything. This behavior is
|
# doesn't fit on one line, it wraps around with no attempt to shorten it.
|
||||||
# likely to make user experience worse than with any other Powerlevel10k config.
|
|
||||||
#
|
#
|
||||||
# If you like the general style of Pure but not particularly attached to all its quirks,
|
# If you like the general style of Pure but not particularly attached to all its quirks, type
|
||||||
# type `p10k configure` while having Powerlevel10k theme active and pick lean style.
|
# `p10k configure` while having Powerlevel10k theme active and pick "Lean" style.
|
||||||
|
|
||||||
# Temporarily change options.
|
# Temporarily change options.
|
||||||
'builtin' 'local' '-a' 'p10k_config_opts'
|
'builtin' 'local' '-a' 'p10k_config_opts'
|
||||||
|
@ -96,17 +93,15 @@
|
||||||
# Yellow previous command duration.
|
# Yellow previous command duration.
|
||||||
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=yellow
|
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=yellow
|
||||||
|
|
||||||
# Grey Git prompt. This makes stale prompts indistinguishable from up-to-date ones. This is
|
# Grey Git prompt. This makes stale prompts indistinguishable from up-to-date ones.
|
||||||
# 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.
|
||||||
# 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
|
# Don't wait for Git status even for a millisecond, so that prompt always updates
|
||||||
# when Git state changes. This is unlikely to be desired by anyone but that's how Pure does it.
|
# asynchronously when Git state changes.
|
||||||
typeset -g POWERLEVEL9K_VCS_MAX_SYNC_LATENCY_SECONDS=0
|
typeset -g POWERLEVEL9K_VCS_MAX_SYNC_LATENCY_SECONDS=0
|
||||||
|
|
||||||
# Cyan ahead/behind arrows.
|
# Cyan ahead/behind arrows.
|
||||||
|
|
Loading…
Reference in a new issue