1
0
Fork 0
mirror of https://github.com/zdharma-continuum/zinit-annex-bin-gem-node.git synced 2025-02-20 18:42:00 +01:00
Commit graph

187 commits

Author SHA1 Message Date
Philipp Schmitt
10f6f50cff
Merge pull request from alberti42/main
Added modifier `!` for ICE `sbin` to speed up execution of shims
2025-02-15 15:17:33 +01:00
Andrea Alberti
852d239157 Made variables local 2025-02-15 15:12:12 +01:00
Andrea Alberti
4ee0b75546 - Added modifier ! for ICE sbin -> it creates a shim with a NO RCS shell #!/usr/bin/env -S zsh -fd. It can save 150 ms to execute the shim, which otherwise are needed to parse the configuration files.
- Documented the new feature in the README.md
- Added instructions when to use `sbin` and when to prefer `lbin`
2025-02-09 18:19:39 +01:00
vladislav doster
8861b35668
fix: remove extraneous character in log message () 2023-12-24 06:31:59 -06:00
vladislav doster
121eae9ca0
style: consistent log prefix ()
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-12-24 06:27:01 -06:00
vladislav doster
956f4b764c
docs: update node ice example 2023-09-15 18:01:12 -05:00
vladislav doster
bc4901d5bb
docs: fix toc and grammar in README.md () 2023-09-15 16:58:33 -05:00
vladislav doster
4ef9965b74
fix: use string as glob pattern to trim whitespace ()
- leverage ${~string} feature to reduce duplicate code
2023-09-15 14:32:07 -05:00
vladislav doster
2920bc2227
docs: update & correct readme.md () 2023-09-15 14:03:34 -05:00
vladislav doster
b367930680
docs: update zdharma to zdharma-continuum () 2023-09-15 12:49:19 -05:00
vladislav doster
1b8dca1809
Revert "feat: zsh-sweep linter fixes ()" ()
This reverts commit 0fe8fec773.
2023-04-20 00:51:53 -05:00
Sebastian Gniazdowski
0fe8fec773
feat: zsh-sweep linter fixes ()
* 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
Sebastian Gniazdowski
10a706e8ce
fix: double shim creating when non-empty sbin'' ice ()
Currently, the following command creates two shims, `tsk` and 'dstask-linux-amd64':

```zsh
zi sbin'dstask*->tsk' bpick'dstask-linux-amd*' ghapi from'gh-r' for dstask
```

This is now fixed.
2023-04-19 12:27:57 -05:00
vladislav doster
5b3c4ec357
feat: add lint gh action workflow () 2023-04-15 23:46:01 -05:00
Jan Katins
b89a3a10e1
docs: correct copy and paste errors for pip option () 2023-03-27 22:19:23 -05:00
Sebastian Gniazdowski
f6bfc2ddba
feat: Make any binary name given to sbin'' ice be searched via preceding **/… () 2022-12-30 11:42:49 -06:00
hunter9x
6e8f94f7c4
docs: update link to use zdharma-continuum in README.md ()
Co-authored-by: dang.ngoc.thach <dang.ngoc.thach@fjct.fujitsu.com>
2022-05-22 11:53:07 -05:00
Frands Otting
95b141f129
docs: update broken link in README.md ()
The shim-list picture was linking to a non existing file. 

- update link to diagram picture
2022-03-30 14:13:03 -05:00
Philipp Schmitt
9a3ebec7fe
Merge pull request from zdharma-continuum/ascii-filenames 2021-11-19 20:21:57 +01:00
Philipp Schmitt
ff59d35f9b
Missed another one. 2021-11-19 17:57:53 +01:00
Philipp Schmitt
2e7d22e8c7
Missed one. 2021-11-19 17:41:47 +01: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
Philipp Schmitt
9006d907f5
Merge pull request from zdharma-continuum/rename 2021-11-12 11:54:44 +01:00
Philipp Schmitt
eb1bbcab63
Rename: z-a -> zinit-annex 2021-11-12 10:10:15 +01:00
Philipp Schmitt
eb2c03d490
Update url 2021-11-10 18:27:31 +01:00
Sebastian Gniazdowski
4c3696fb37
Merge pull request from sileht/master
add support for virtualenv+pip
2021-06-27 11:17:47 +02:00
Mehdi Abaakouk
4ea9b3071f add support for virtualenv+pip 2021-05-08 22:38:59 +02:00
Sebastian Gniazdowski
dda1eb59c2 Increase the indent level. 2020-09-03 14:51:17 +02:00
Sebastian Gniazdowski
645c1fa6d8 Use pr to columnize the output. 2020-09-03 14:48:12 +02:00
Sebastian Gniazdowski
a6f79017ca Rename variables. 2020-07-23 16:40:20 +02:00
Sebastian Gniazdowski
2c4b69708b Make the atdelete hook follow atclone on sbin'' + a fix for glob-sort. 2020-07-17 08:56:06 +02:00
Sebastian Gniazdowski
6d0432acf0 Glob only regular files and symbolic links. 2020-07-17 08:33:27 +02:00
Sebastian Gniazdowski
7fdf0aa03c Fix for the annex-API changes . 2020-07-10 13:47:33 +02:00
Sebastian Gniazdowski
7ad139711f Adapt for the annex-arch changes. 2020-07-09 17:05:38 +02:00
Sebastian Gniazdowski
47ec143307 Impose order on the calling of hooks regardless of its registration. 2020-07-09 07:30:39 +02:00
Sebastian Gniazdowski
42654367e2 Update copyright notice (year). 2020-07-08 21:47:00 +02:00
Sebastian Gniazdowski
e927f33392 README.md 2020-06-26 22:22:00 +02:00
Sebastian Gniazdowski
c3888521fa README.md 2020-06-26 22:01:46 +02:00
Sebastian Gniazdowski
63387c5213 README.md 2020-06-20 21:51:51 +02:00
Sebastian Gniazdowski
bcf54ebeab *cygwin: Localize variables 2020-06-20 10:39:31 +02:00
Sebastian Gniazdowski
892efc3730 Create .cmd on Cygwin 2020-06-20 08:30:34 +02:00
Sebastian Gniazdowski
b874656195 .za-bgn-bin-or-src-function-body-cygwin 2020-06-20 07:57:48 +02:00
Sebastian Gniazdowski
689788f30a *{atclone,atload}-handler: Alternate syntax 2020-06-13 06:48:44 +02:00
Sebastian Gniazdowski
769af39bfc *atclone-handler: Alternate syntax 2020-06-12 23:57:54 +02:00
Sebastian Gniazdowski
65eaae6364 *atclone-handler: Correctly detect non-empty update 2020-06-12 23:57:29 +02:00
Sebastian Gniazdowski
a529233421 *atclone-handler: Add function preamble 2020-06-12 23:57:07 +02:00
Sebastian Gniazdowski
2de5e0cc4d *atload-handler: Fix %-starting dir handling
https://github.com/zdharma/zinit/issues/359
2020-06-12 21:44:08 +02:00
Sebastian Gniazdowski
64f261b4a8 *atload-handler: Add function preamble 2020-06-12 21:43:11 +02:00
Sebastian Gniazdowski
6a3d52abe8 *function-body: Fix the absolute-path plugins
https://github.com/zdharma/zinit/issues/359
2020-06-10 18:43:18 +02:00
Sebastian Gniazdowski
2fa561e439 *shim-list: A better help message 2020-05-08 17:08:35 +02:00