zsh plugin manager written in rust
nimble zsh plugin manager
zr 1.2.1
by Jonathan Dahan
Example
. ~/.config/zr.zsh
fi
source ~/.config/zr.zsh
…zsh
$ hyperfine --warmup 3
--command-name "generate shell script"
'zsh -d -f -l -c "source benchmark.zsh && zrinit && exit"'
--command-name "generate and load shell script"
'zsh -d -f -l -c "source benchmark.zsh && . <(zrinit) && exit"'
Benchmark 1: generate shell script Time (mean ± σ): 8.2 ms ± 1.3 ms [User: 3.4 ms, System: 3.7 ms] Range (min … max): 7.2 ms … 12.1 ms 258 runs
Benchmark 2: generate and load shell script Time (mean ± σ): 42.1 ms ± 2.6 ms [User: 22.4 ms, System: 58.2 ms] Range (min … max): 38.7 ms … 51.2 ms 54 runs
```zsh
# benchmark.zsh
function zrinit {
XDG_CACHE_HOME=/tmp/zrbenchmark zr sorin-ionescu/prezto.git/modules/git/alias.zsh \
sorin-ionescu/prezto.git/modules/history/init.zsh \
junegunn/fzf.git/shell/key-bindings.zsh \
zsh-users/zsh-autosuggestions \
zdharma/fast-syntax-highlighting \
molovo/tipz \
geometry-zsh/geometry \
jedahan/geometry-hydrate \
jedahan/geometry-todo \
geometry-zsh/geometry \
ael-code/zsh-colored-man-pages \
momo-lab/zsh-abbrev-alias \
jedahan/alacritty-completions \
zpm-zsh/ssh
}git tag 1.2.1
git push --tags
cargo publish --lockedNo open issues yet, or sync has not completed.