Commit graph

4 commits

Author SHA1 Message Date
vladislav doster 4ef9965b74
fix: use string as glob pattern to trim whitespace (#32)
- leverage ${~string} feature to reduce duplicate code
2023-09-15 14:32:07 -05:00
vladislav doster 1b8dca1809
Revert "feat: zsh-sweep linter fixes (#23)" (#27)
This reverts commit 0fe8fec773.
2023-04-20 00:51:53 -05:00
Sebastian Gniazdowski 0fe8fec773
feat: zsh-sweep linter fixes (#23)
* Make any binary name given to sbin'' ice be searched via preceding **/…

This allows to simply leave the ice empty, to find **/$id_as or **/$plugin,
or specify a binary name without need to give it a **/… glob, because
it is boring to do, as someone once noted (didn't find the post).

Second change is a new "1:…" option to limit the number of shims created
to only 1. So, e.g.: `sbin'1:exa*'` to have only first, shortest path
exa found be given a shim.

* maint: Switch from `print -P %F{col-nr}` to `m {col-name}`.

The `m` function is automatically provided for the moment of loading/installing
a plugin and it's the same as `+zinit-message`.

* maint: fix reports from zsh-sweep linter
2023-04-19 12:29:16 -05:00
Philipp Schmitt 4ae7f7f58f
Remove non-ascii chars from filenames
Ref: https://github.com/zdharma-continuum/zinit/issues/58
2021-11-19 17:37:16 +01:00
Renamed from →za-bgn-atload-handler (Browse further)