You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.
I just checked out https://github.com/ryanoasis/nerd-fonts because of the discussion I saw in #95. (tl;dr: I'm using urxvt and the fallback method doesn't seem to be an option, nerd-fonts provides patched fonts for Ubuntu mono which I like).
Anyway, the prompt takes somewhere between half a second to a second to load. Even when I remove all the segments, this is the case which is a bit strange. My suspicions are:
Logic for non-rendered segments is still being executed, which is wasteful
Something in the logic for the VCS prompt scales with repository size (nerd-fonts is 1.8GB), which other themes (such as agnoster) do not do.
Will follow up with any findings I might make, but hopefully this helps if anyone else looks into it!
The text was updated successfully, but these errors were encountered:
The prompt in my nerd-fonts checkout is as fast as in other repositories.. It is slower than in non-VCS folders, but that is normal (VCS_INFO does a lot).
For comparison, my segments are: status os_icon load context dir vcs symfony2_version time
Another approach could be to render the vcs segment asynchronously like described in this article. This technique is also used by the pure zsh theme. This might be a long-term goal.
I haven't had much time to try and reproduce this, and haven't encountered it since opening this issue. Closing this until I have something more concrete to work with. (Also, non-blocking prompts look pretty interesting!)
I just checked out https://github.com/ryanoasis/nerd-fonts because of the discussion I saw in #95. (tl;dr: I'm using urxvt and the fallback method doesn't seem to be an option, nerd-fonts provides patched fonts for Ubuntu mono which I like).
Anyway, the prompt takes somewhere between half a second to a second to load. Even when I remove all the segments, this is the case which is a bit strange. My suspicions are:
Will follow up with any findings I might make, but hopefully this helps if anyone else looks into it!
The text was updated successfully, but these errors were encountered: