Repository navigation
Limon 1.2.2
Changed
- The git segment no longer forks
gitat all in a directory that is not a
repository (a home directory,/tmp, ...). It now checks for a.gitentry
by walking up from$PWDin pure bash before deciding whether to fork, and
caches that "no repo here" result the same way it already cached a
repo's branch and status. Process-spawn cost dominates prompt render time on
small or loaded machines, so this removes the single biggest cost of
limon config git=full(the default) for the common case of sitting outside
a repo. limon bench's "most cost is the git status call" tip now only prints when
the benchmark actually ran inside a repository, since that fork no longer
happens, and dominates nothing, outside one.
Install
curl -fsSL https://raw.githubusercontent.com/faridrasidov/limon/master/get-limon.sh | bashOr download an archive below and run bash limon-1.2.2/install.sh.
Verify a download with sha256sum -c SHA256SUMS --ignore-missing.