Skip to content

Limon 1.2.2

Choose a tag to compare

@github-actions github-actions released this 22 Sep 10:41
0bdf0fe

Changed

  • The git segment no longer forks git at all in a directory that is not a
    repository (a home directory, /tmp, ...). It now checks for a .git entry
    by walking up from $PWD in 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 | bash

Or download an archive below and run bash limon-1.2.2/install.sh.
Verify a download with sha256sum -c SHA256SUMS --ignore-missing.