Browse Source
This includes some improvements by @indrajitr in addition to the main migration. The first step was to avoid PROMPT and RPROMPT modification when possible (which may help resolve some other issues as well relating to zsh crashes with the sorin prompt) then update the displayed git information in a separate variable rather than a command. We use zsh-async for creating and running background tasks. The sorin prompt uses it to update git info without blocking the prompt from displaying (because of how long it can take). In the future it may be worth moving more tasks and more prompts to using this. The move to zsh-async does make the git prompt slower in some circumstances (most noticeable in large repos), but this is a worthwhile tradeoff to avoid the cache file which had a number of potential security holes. We have also switched to adding zsh-async as an external submodule (rather than the version bundled with pure) which may cause some migration headaches, but it will be worth it in the long run.master
Kaleb Elwert
8 years ago
committed by
GitHub
4 changed files with 46 additions and 46 deletions
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
Subproject commit 28c7a644227a5ad7249193525ef27734781f6a63 |
@ -1 +1 @@
@@ -1 +1 @@
|
||||
../external/pure/async.zsh |
||||
../external/async/async.zsh |
Loading…
Reference in new issue