Commit graph

3774 commits

Author SHA1 Message Date
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
vladislav doster 0bdf9eaf56
Merge pull request #491 from zdharma-continuum/feat/refactor-completion
feat: zinit completion improvements
2023-03-29 05:20:12 -05:00
vladislav doster 5d064741a0
ci: add completion to pull request labels 2023-03-27 21:07:29 -05:00
Vladislav Doster b8d12e555d
feat: zinit completion improvements
- Add all subcommand short & long flags
- Handle mutually exclusive options. For example, a user shouldn't be
  able to select the `--all` flag and a plugin in `zi delete` but should
  be able to select the `--yes` or `--quiet`
- Handle the zinit limitation of only taking one plugin in various
  commands (i.e., delete, uncompiled)

Examples:
- Don't show users plugins in the `zi delete` when they have already
  selected one to avoid an error.
- Only let the user select one flag option in `zinit time`.

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-03-27 05:00:45 -05:00
Ryoga c624ac0077
add an option to disable aliases (#452)
* feat: add option to disable aliases

* docs: add docs for `ZINIT[NO_ALIASES]`
2023-03-26 22:54:30 +02:00
vladislav doster b773763bdc
fix: update pygmentize flags in glance subcommand (#488)
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-03-26 09:03:42 +02:00
vladislav doster 824d9d3617
fix: lsd repo owner changed to lsd-rs organization (#489)
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-03-26 08:30:20 +02:00
vladislav doster 8e3d2eefbd
Merge pull request #484 from zdharma-continuum/vladdoster-patch-1
fix: pin `ggsrun` version in gh-r z-unit test
2023-03-10 00:10:44 -06:00
vladislav doster 9f677989e8
fix: pin ggsrun version in gh-r z-unit test
Latest version `[v2.0.1](https://github.com/tanaikech/ggsrun/releases/tag/v2.0.1)` has no assets.
2023-03-10 00:08:33 -06:00
vladislav doster 21c3b55d96
Merge pull request #480 from xqm32/fix-starship-example 2023-02-24 08:01:38 -06:00
Qiming Xu 4933b62f40
fix: the starship example does not work properly 2023-02-24 12:21:53 +08:00
vladislav doster 3ade9bb250
Merge pull request #479 from zdharma-continuum/fix/ghr-grep-caseinsensitive
fix: make `gh-r` release version search case-insensitive
2023-02-21 19:24:05 -06:00
Vladislav Doster 3eb75b7ee9 fix: make gh-r release search case-insensitive
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-02-22 01:05:50 +00:00
vladislav doster e3ccd7f7a4
Merge pull request #477 from miles170/fix-docs
docs: update line count in `zinit.zsh.adoc`
2023-02-16 19:07:48 -06:00
Miles Liu a570cfd4ca
docs: update line count in zinit.zsh.adoc 2023-02-16 13:44:05 +08:00
vladislav doster 3ab1857b8a
Merge pull request #416 from psprint/fix-browse-symbols 2023-02-15 11:30:58 -06:00
Sebastian Gniazdowski d29a8ba2b7 fix: absolute path support in the symbol browser 2023-02-15 17:42:39 +00:59
vladislav doster c90f2c37bf
Merge pull request #451 from iloveitaly/patch-1
docs: add conditional directory and git cloning calls to setup instructions
2023-02-12 20:42:53 -06:00
vladislav doster b5338e0252
Merge pull request #460 from psprint/%x-prompt-expn
fix: assign to functions hash to enable `%x`
2023-02-12 20:41:39 -06:00
vladislav doster c9c8a10e01
Merge pull request #453 from miles170/fix-creinstall
fix: broken symbolic link after `creinstall .`
2023-02-12 20:39:57 -06:00
vladislav doster 683c4390b2
Merge pull request #475 from zdharma-continuum/fix/zinit-confirm-rc
fix: use correct return code in zinit-confirm
2023-02-12 19:04:45 -06:00
Vladislav Doster d467738c1b fix: use correct return code in zinit-confirm
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-02-12 18:59:55 -06:00
vladislav doster a679bc60f0
Merge pull request #474 from zdharma-continuum/fix/zinit-confirm
refactor: zinit confirmation messages
2023-02-12 18:47:45 -06:00
Vladislav Doster cadeb791b4 refactor: zinit confirmation messages
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-02-12 18:01:43 -06:00
Miles Liu da0d6b712c
fix: broken symbolic link after creinstall .
Signed-off-by: Miles Liu <miles@bung.cc>
2023-02-01 12:00:36 +08:00
Philipp Schmitt f214ebe485
Merge pull request #470 from zdharma-continuum/dependabot/github_actions/docker/build-push-action-4
build(deps): bump docker/build-push-action from 3 to 4
2023-01-31 21:17:37 +01:00
dependabot[bot] df6c21bd6d
build(deps): bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 12:03:02 +00:00
vladislav doster b721461947
Merge pull request #462 from zdharma-continuum/test/git-absorb
ci: git-absorb zunit gh-r test
2023-01-14 00:39:37 -06:00
Vladislav Doster 469baa17cf ci: git-absorb zunit gh-r test
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-01-14 01:45:20 +00:00