정말 우연히도 ZSH 레딧을 한덕에 P10k 탄생과 성장을 다봤었음.
성능에 최소 손모가지는 걸었다고 생각해도 됨.
Git 관련 최적화(캐싱/패치)
Powerlevel10k -- a 10x faster fork of Powerlevel9k
Caching + C = fast Powerlevel9k prompt (with git!)
Additional 4x git prompt speedup in Powerlevel10k
Powerlevel10k: the fastest zsh theme with git in your prompt
프롬프트 최적화 / 비동기 프롬프트
Powerlevel10k goes instant: 50 times faster than Powerlevel9k plus seamless async prompts
나도 만들어달라고 징징됐던 사람들 중 한명인데 ㅋㅋ
만들어주더라고.
기타
New Powerlevel10k Feature: Instant Prompt
(Ab)using ZSH parameter expansion for fun and profit in Powerlevel10k다른 주목할만한 프롬프트도 있긴해.
https://github.com/robobenklein/zinc
https://github.com/starship/starship
그런데 gitstatus를 사용안해서 커다란 프로젝트의 경우 성능을 보장하진 못함.
해당 댓글은 삭제되었습니다.
예를 들어 커다란 플젝에서 깃 상태(예: dirty한지)를 확인하는데 시간이 걸리잖아. 이때 로딩중이라는 인디케이터를 보여주다가 비동기적으로 업데이트를 할 수 있음.