Commit graph

3802 commits

Author SHA1 Message Date
vladislav doster 14cc16167f
refactor: rename +zinit-message to +zi-log (#563)
- Rename all instances of +zinit-message to +zi-log
- Maintain compatibility with community plugins/annexes by forwarding +zinit-message calls to +zi-log

Signed-off-by: Doster, Vladislav <mvdoster@gmail.com>
2023-08-20 00:59:44 -05:00
vladislav doster 68a6b42caf fix: math expression in plugins command (#559)
Co-authored-by: GitHub Actions <actions@github.com>
Signed-off-by: Doster, Vladislav <mvdoster@gmail.com>
2023-08-15 00:21:14 -05:00
vladislav doster 97b087e68a
fix: gh-r zunit tests (#561)
- remove version pin for `atuin` test
- update `atuin` repo owner
- `lfs` renamed to `dysk`
- macOS architecture check for `create-go-app`
2023-08-12 06:22:21 -05:00
Sebastian Gniazdowski 1375adf8f8
fix: quote parens so that they aren't used as globs (#549) 2023-08-02 17:47:29 +02:00
Philipp Schmitt 1cb1df6307
ci: fix repo for hub (github -> mislav) (#541) 2023-06-15 19:49:06 +02:00
Philipp Schmitt 113cfc47fb
fix: Ignore .yaml and .py files when installing completions (#528)
Signed-off-by: Doster, Vladislav <mvdoster@gmail.com>
Co-authored-by: vladislav doster <10052309+vladdoster@users.noreply.github.com>
2023-06-15 19:08:56 +02:00
Philipp Schmitt 5706971e90
ci: commit generated docs (#535)
Co-authored-by: vladislav doster <10052309+vladdoster@users.noreply.github.com>
2023-06-13 12:04:11 +02:00
vladislav doster 497d519d99 fix: pin fclones version to v0.31.0 2023-06-08 20:48:12 -05:00
vladislav doster 9ebc788632
Merge pull request #531 from zdharma-continuum/ci/container-on-main-only
ci: build container trigger on main branch push or new release tag
2023-06-05 20:45:12 -05:00
vladislav doster c95365c487
Merge branch 'main' into ci/container-on-main-only 2023-06-05 20:41:30 -05:00
vladislav doster f933dc028e
fix: build container for tagged releases 2023-06-05 20:41:10 -05:00
Philipp Schmitt de85908f8d
fix: jq has moved from stedolan/jq to jqlang/jq (#530) 2023-06-05 10:02:55 +02:00
Philipp Schmitt c3f9d8967d
ci: only build on main branch 2023-06-05 09:30:53 +02:00
Philipp Schmitt 238e843d60
feat: build container with zsh 5.9 (#525) 2023-06-05 09:04:01 +02:00
Vladislav Doster 879d889ee1 release: v3.10.0 → v3.11.0
# [3.11.0](https://github.com/zdharma-continuum/zinit/compare/v3.10.0...v3.11.0) (2023-05-04)

### Bug Fixes

* add `.gitignore` with '*' pattern in a plugins `._zinit/` directory ([#397](https://github.com/zdharma-continuum/zinit/issues/397)) ([fccb508](fccb5080ab)), closes [#395](https://github.com/zdharma-continuum/zinit/issues/395)
* broken update command ([336ca85](336ca85ade))
* cleanup style, naming, and completion ([6c82d67](6c82d6788d))
* compile and completion log messages ([c4446da](c4446da57e))
* csearch ignores lua files ([4d1840b](4d1840b883))
* makefile clean target less verbose ([3396f5e](3396f5e3aa))
* pin git-mkver gh-r test to v.1.2.2 ([a05cc1a](a05cc1ab59))
* pin git-mkver unit test to v1.2.2 ([08f02e0](08f02e00d0))
* regenerate docs ([e0177e2](e0177e2038))

### Features

* expand gh-r zunit tests ([c323116](c323116483))
* refactor debug commands ([930b25e](930b25ee3c))
* refactor ls, list, and loaded commands ([a865907](a86590762a))
2023-05-04 11:45:52 +00:00
vladislav doster d372c14e31
Merge pull request #517 from zdharma-continuum/fix/logging
fix: compile and completion log messages
2023-05-04 06:43:33 -05:00
vladislav doster 58736615f5
Merge branch 'main' into fix/logging 2023-05-04 06:43:27 -05:00
vladislav doster 7927c2c7cc
Merge pull request #514 from zdharma-continuum/feat/refactor-debug-commands
feat: refactor debug commands
2023-05-04 06:42:55 -05:00
Vladislav Doster c4446da57e
fix: compile and completion log messages
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-05-04 06:37:30 -05:00
vladislav doster c4e6cb35f4
Merge pull request #516 from zdharma-continuum/fix/csearch-ignores-lua-files 2023-05-02 16:27:16 -05:00
vladislav doster e95a76cd15
Merge branch 'main' into fix/csearch-ignores-lua-files 2023-05-02 07:14:04 -05:00
vladislav doster 08f02e00d0
fix: pin git-mkver unit test to v1.2.2 2023-05-02 07:13:54 -05:00
Vladislav Doster 4d1840b883
fix: csearch ignores lua files
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-05-02 05:06:42 -05:00
Vladislav Doster a05cc1ab59
fix: pin git-mkver gh-r test to v.1.2.2
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-05-01 05:27:14 -05:00
Vladislav Doster 6e2fd83125
docs: update docs for new debug command
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-05-01 05:16:23 -05:00
Vladislav Doster a7e500d091
docs: update docs for new debug command
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-05-01 04:59:04 -05:00
Vladislav Doster 930b25ee3c
feat: refactor debug commands
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-05-01 04:45:56 -05:00
vladislav doster 322253cd7b
Merge pull request #512 from zdharma-continuum/fix/remove-verbosity
fix: makefile clean target less verbose
2023-04-30 23:01:29 -05:00
Vladislav Doster 3396f5e3aa
fix: makefile clean target less verbose
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-04-30 23:00:59 -05:00
vladislav doster 6d84f9991d
Merge pull request #508 from zdharma-continuum/fix/update-subcommand
fix: broken update command
2023-04-19 12:24:31 -05:00
Vladislav Doster 336ca85ade
fix: broken update command
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-04-19 12:20:09 -05:00
vladislav doster 18532ee082
Merge pull request #506 from zdharma-continuum/fix/generate-new-tests
feat: expand gh-r zunit tests
2023-04-19 12:18:56 -05:00
Vladislav Doster c323116483 feat: expand gh-r zunit tests
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-04-19 16:54:49 +00:00
vladislav doster db404aa8ef
Merge pull request #505 from zdharma-continuum/ci/fq-zunit-ghr-test
ci: fq cli gh-r zunit test
2023-04-15 23:56:04 -05:00
Vladislav Doster d71525ca63
ci: fq cli gh-r zunit test
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-04-15 23:37:52 -05:00
vladislav doster 034e265ede
Merge pull request #497 from zdharma-continuum/fix/list-commands
feat: refactor ls, list, and loaded commands
2023-04-14 11:22:50 -05:00
vladislav doster 5a4814479f
Merge branch 'main' into fix/list-commands 2023-04-10 17:29:22 -05:00
vladislav doster cbb4a880ae
Merge pull request #498 from zdharma-continuum/ci/fnm-ghr-test
ci: fnm gh-r zunit test
2023-04-10 17:19:48 -05:00
Vladislav Doster 2f39986945
ci: fnm gh-r zunit test
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-04-10 17:15:12 -05:00
Vladislav Doster 6c82d6788d fix: cleanup style, naming, and completion
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-04-10 12:32:16 +00:00
Vladislav Doster a86590762a
feat: refactor ls, list, and loaded commands
Issues addressed:

1. Confusing and unintuitive command names

  Currently, two commands `loaded` and `list` will list installed
  plugins and a single command `ls` lists installed snippets. The namea
  don't make much sense or give context to their behavior, nor does
  having two commands with identical behavior.

This PR removes the three commands in favor of two new commands
`list-snippets` and `list-plugins`. The names align with the action they
perform.

2. Uninformative output

  Current output is hard to grok.

This PR cleans up the output format and uses color to help convey
information.

3. Incorrect

  Output does not account for various situations with the only way to
  fix is to reload Zsh session which would not always fix it. See images
  below for the aforementioned situations.

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-04-09 21:45:15 -05:00
vladislav doster 243f5bd6d2
Merge pull request #496 from zdharma-continuum/docs/update-docs
fix: regenerate zinit docs
2023-04-08 17:20:16 -05:00
Vladislav Doster e0177e2038
fix: regenerate docs
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-04-08 17:04:55 -05:00
wzy fccb5080ab
fix: add .gitignore with '*' pattern in a plugins ._zinit/ directory (#397)
Zinit creates a directory named `._zinit` to store metadata. However, this
metadata should not be added to git.

Closes #395

Signed-off-by: wzy <32936898+Freed-Wu@users.noreply.github.com>
Co-authored-by: Vladislav Doster <mvdoster@gmail.com>
2023-04-08 16:24:46 -05:00
Vladislav Doster 6845b7a91e release: v3.9.0 → v3.10.0
# [3.10.0](https://github.com/zdharma-continuum/zinit/compare/v3.9.0...v3.10.0) (2023-04-02)

### Bug Fixes

* absolute path support in the symbol browser ([d29a8ba](d29a8ba2b7))
* assign to functions hash to make %x work ([bd65a01](bd65a01734))
* broken symbolic link after `creinstall .` ([da0d6b7](da0d6b712c))
* bump node version in release workflow ([938f483](938f48375b))
* change prefix `~zi::` to `__zi::` ([0e45493](0e45493e36))
* container build & shell make targets ([a72fb83](a72fb83f09))
* container build & shell make targets ([14b2cda](14b2cda039))
* container build & shell make targets ([370808d](370808dd51))
* container build & shell make targets ([47bd74f](47bd74f8a7))
* container build & shell make targets ([f8eb967](f8eb967b0e))
* container build & shell make targets ([3af321e](3af321e8e4))
* do not run `make docs` ([3802893](3802893c74))
* failing zunit tests & bootstrap script ([d618467](d618467ff0))
* file modelines ([75bb735](75bb73547e))
* gh-r & bpick ice log format and content ([ad88a89](ad88a890ad))
* gh-r parsing logic for arm64 & logging style ([7e48651](7e486519d7))
* gh-r pattern for 64bit linux-gnu systems ([b5a31c0](b5a31c07f2))
* lsd repo owner changed to lsd-rs organization ([#489](https://github.com/zdharma-continuum/zinit/issues/489)) ([824d9d3](824d9d3617))
* make gh-r release search case-insensitive ([3eb75b7](3eb75b7ee9))
* make target docker cmd flags ([dd04896](dd04896449))
* pin `ggsrun` version in gh-r z-unit test ([9f67798](9f677989e8))
* the starship example does not work properly ([4933b62](4933b62f40))
* update pygmentize flags in glance subcommand ([#488](https://github.com/zdharma-continuum/zinit/issues/488)) ([b773763](b773763bdc))
* use correct return code in zinit-confirm ([d467738](d467738c1b))
* vim modelines & zsdoc pdf rendering ([2b460a7](2b460a74f2))

### Features

* delete subcommand refactor ([9eee215](9eee215e3f)), closes [#57](https://github.com/zdharma-continuum/zinit/issues/57) [#239](https://github.com/zdharma-continuum/zinit/issues/239)
* zinit completion improvements ([b8d12e5](b8d12e555d))

### Reverts

* "Merge branch 'refactor/zinit-function-names' into main" ([515688b](515688bc97))
2023-04-02 11:48:35 +00:00
vladislav doster 938f48375b
fix: bump node version in release workflow 2023-04-02 06:47:38 -05:00
vladislav doster 6a5d2b11a3
Merge pull request #494 from zdharma-continuum/57-allow-deleting-multiple-plugins-in-one-command
fix: delete multiple plugins at once

- `delete` subcommand can now take multiple arguments
- improved logic for `--all`, `--clean` flags
- improved log output
- now cleans up broken symlinks
2023-04-02 06:40:29 -05:00
Philipp Schmitt 3802893c74
fix: do not run make docs 2023-04-02 12:38:06 +02:00
Philipp Schmitt 3173e6df7d
docs: regenerate 2023-04-02 12:37:52 +02:00
Vladislav Doster 9eee215e3f
feat: delete subcommand refactor
- `delete` subcommand can now take multiple arguments
- improved logic for `--all`, `--clean` flags
- improved log output
- now cleans up broken symlinks

```
zinit delete <Plugin> <Plugin> ...
```

Closes #57
Closes #239

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-04-02 04:38:38 -05:00