dependabot[bot]
1eae28dfb5
build(deps): bump Homebrew/actions/setup-homebrew from 2026.08.24.1 to 2026.09.07.1 ( #819 )
...
lint / commit convention (push) Failing after 0s
Container images / build-containers-with-zsh (5.8) (push) Has been cancelled
Container images / build-containers-with-zsh (5.9) (push) Has been cancelled
Container images / build-container-latest (push) Has been cancelled
lint / markdown (push) Has been cancelled
lint / zsh (noexec) (push) Has been cancelled
lint / zsh (zcompile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, --slice, gh-r) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, --slice, plugins) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, annexes) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, commands) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, compile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, config-zstyle) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, hook-handler) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, ice-validation) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, ices) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, snippets) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, --slice, gh-r) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, --slice, plugins) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, annexes) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, commands) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, compile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, config-zstyle) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, hook-handler) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, ice-validation) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, ices) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, snippets) (push) Has been cancelled
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-08 23:05:03 +02:00
Vladislav Doster
db9e267184
release: v3.16.0 → v3.17.0
...
lint / commit convention (push) Failing after 0s
Container images / build-containers-with-zsh (5.8) (push) Has been cancelled
Container images / build-containers-with-zsh (5.9) (push) Has been cancelled
Container images / build-container-latest (push) Has been cancelled
Documentation / zshelldoc (push) Has been cancelled
lint / markdown (push) Has been cancelled
lint / zsh (noexec) (push) Has been cancelled
lint / zsh (zcompile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, --slice, gh-r) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, --slice, plugins) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, annexes) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, commands) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, compile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, config-zstyle) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, hook-handler) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, ice-validation) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, ices) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, snippets) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, --slice, plugins) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, annexes) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, commands) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, compile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, config-zstyle) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, hook-handler) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, ice-validation) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, ices) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, snippets) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, --slice, gh-r) (push) Has been cancelled
# [3.17.0](https://github.com/zdharma-continuum/zinit/compare/v3.16.0...v3.17.0 ) (2026-09-02)
### Features
* **ziextract:** support zst archive format ([b8855c7 ](b8855c7887 ))
2026-09-02 08:54:53 +00:00
vladislav doster
ce9bdf9990
Merge pull request #818 from zdharma-continuum/fear/support-zst-archives
...
feat(ziextract): support zst archive format
2026-09-02 03:53:13 -05:00
Vladislav Doster
b8855c7887
feat(ziextract): support zst archive format
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-09-01 17:22:49 -05:00
Vladislav Doster
98bcb79c3d
release: v3.15.3 → v3.16.0
...
lint / commit convention (push) Failing after 0s
lint / markdown (push) Has been cancelled
Container images / build-containers-with-zsh (5.8) (push) Has been cancelled
Container images / build-containers-with-zsh (5.9) (push) Has been cancelled
lint / zsh (noexec) (push) Has been cancelled
Container images / build-container-latest (push) Has been cancelled
Documentation / zshelldoc (push) Has been cancelled
lint / zsh (zcompile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, --slice, gh-r) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, --slice, plugins) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, annexes) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, commands) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, compile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, config-zstyle) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, hook-handler) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, ice-validation) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, ices) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, snippets) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, --slice, gh-r) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, --slice, plugins) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, annexes) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, commands) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, compile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, config-zstyle) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, hook-handler) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, ice-validation) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, ices) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, snippets) (push) Has been cancelled
# [3.16.0](https://github.com/zdharma-continuum/zinit/compare/v3.15.3...v3.16.0 ) (2026-08-31)
### Bug Fixes
* **self-update:** honor -q in changelog display ([a85e9dc ](a85e9dcc3e ))
### Features
* **self-update:** support -n/--no-pager ([cc3baf3 ](cc3baf395f )), closes [#632 ](https://github.com/zdharma-continuum/zinit/issues/632 )
2026-08-31 22:05:56 +00:00
vladislav doster
a8bc3d0cf6
Merge pull request #815 from zdharma-continuum/feat/self-update-no-pager
...
feat(self-update): support `-n`/`--no-pager`
2026-08-31 17:03:49 -05:00
Vladislav Doster
fdcbb25688
docs(readme): document self-update --no-pager
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-31 15:50:14 -05:00
Vladislav Doster
8197f3215b
test(commands): cover self-update pager flags
...
The fixture leaves the sandbox clone one commit behind a scratch bare
upstream built with git commit-tree from HEAD's own tree, so the
fast-forward pull moves only the branch pointer: the unstaged diff the
bootstrap applies stays intact and nothing needs restoring when an
assertion aborts a test. Works offline and on detached-HEAD checkouts
(CI pull_request) alike; a less() shadow function detects pager
invocation, and ambient pull.rebase/autostash settings are pinned off
in the clone so the pull output is stable across machines.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-31 15:50:14 -05:00
Vladislav Doster
a85e9dcc3e
fix(self-update): honor -q in changelog display
...
When the checkout is behind upstream, the commit-log display piped
through .zinit-pager unconditionally, so self-update -q (and the quiet
.zinit-self-update call made by update --all) could hang in less until
dismissed. Skip the display, munging included, under --quiet.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-31 15:50:14 -05:00
Vladislav Doster
cc3baf395f
feat(self-update): support -n/--no-pager
...
Issue #632 : the pager machinery already recognized -n/--no-pager
globally and .zinit-pager already honors OPTS[opt_-n,--no-pager], but
self-update rejected the flag with "Incorrect options given". Allow it
so the commit list can be printed straight to the terminal; help and
error output pick the flag up automatically from the option map. Also
offer the flag in the _zinit completion.
Closes #632
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-31 15:50:14 -05:00
Vladislav Doster
9a2898ba2a
release: v3.15.2 → v3.15.3
...
lint / commit convention (push) Failing after 0s
Container images / build-containers-with-zsh (5.9) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, --slice, plugins) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, annexes) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, commands) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, compile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, config-zstyle) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, hook-handler) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, ice-validation) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, ices) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, snippets) (push) Has been cancelled
Container images / build-containers-with-zsh (5.8) (push) Has been cancelled
Container images / build-container-latest (push) Has been cancelled
Documentation / zshelldoc (push) Has been cancelled
lint / markdown (push) Has been cancelled
lint / zsh (noexec) (push) Has been cancelled
lint / zsh (zcompile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (macos, --slice, gh-r) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, --slice, gh-r) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, --slice, plugins) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, annexes) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, commands) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, compile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, config-zstyle) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, hook-handler) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, ice-validation) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, ices) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} | ${{ matrix.os }} (ubuntu, snippets) (push) Has been cancelled
## [3.15.3](https://github.com/zdharma-continuum/zinit/compare/v3.15.2...v3.15.3 ) (2026-08-28)
### Bug Fixes
* **install:** retry and auth github api downloads ([eaa1056 ](eaa1056699 )), closes [#r](https://github.com/zdharma-continuum/zinit/issues/r )
2026-08-28 08:06:00 +00:00
GitHub Actions
37e90a099f
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2026-08-28 07:57:33 +00:00
vladislav doster
404c0197fa
Merge pull request #814 from zdharma-continuum/fix/gh-r-rate-limit
...
fix(install): retry and authenticate github api downloads
2026-08-28 02:54:49 -05:00
Vladislav Doster
a3a6b5ae94
ci: pass $GITHUB_TOKEN to zunit test step
...
Raises the gh-r suite's GitHub API budget from the anonymous
60 requests/hour/IP to 1,000/hour, so release lookups no longer
depend on unauthenticated HTML scraping that gets throttled when
concurrent runs share runner egress IPs.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-28 02:53:53 -05:00
Vladislav Doster
eaa1056699
fix(install): retry and auth github api downloads
...
.zinit-download-file-stdout made every request anonymously and gave
up on the first transient error. The gh-r test suite alone exceeds
GitHub's anonymous API limit of 60 requests/hour/IP, and racing CI
runs trip per-IP abuse throttling, failing whole zunit slices (run
33138613456: 28 failures, all rate-limited downloads).
Send Authorization from GITHUB_TOKEN/GH_TOKEN, strictly limited to
api.github.com so tokens never reach asset CDNs, mirrors, or snippet
hosts, and retry transient HTTP errors in curl and wget.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-28 02:53:53 -05:00
vladislav doster
63e5e9fac8
Merge pull request #813 from zdharma-continuum/ci-remove-sandbox-option-for-homebrew-action-in-tests-workflow
...
ci: remove `sandbox` option for homebrew action in tests workflow
2026-08-28 01:27:05 -05:00
vladislav doster
dd076b86c1
ci: remove sandbox option for homebrew action in tests workflow
2026-08-28 01:24:51 -05:00
Vladislav Doster
fd4a730727
release: v3.15.1 → v3.15.2
...
## [3.15.2](https://github.com/zdharma-continuum/zinit/compare/v3.15.1...v3.15.2 ) (2026-08-28)
### Bug Fixes
* **install:** treat non-archive single file gracefully in ziextract. ([981cb15 ](981cb1582e )), closes [#771 ](https://github.com/zdharma-continuum/zinit/issues/771 ) [#r](https://github.com/zdharma-continuum/zinit/issues/r ) [Pre-#771](https://github.com/Pre-/issues/771 )
2026-08-28 03:25:11 +00:00
vladislav doster
98b004ba5b
Merge pull request #787 from zdharma-continuum/fix/ziextract-install
...
fix(install): treat non-archive single file gracefully in ziextract.
2026-08-27 22:23:06 -05:00
Vladislav Doster
aabc380881
test(ices): cover gh-r appimage bpick+mv recipe
...
End-to-end test for the ziextract non-archive fallback using
pkgforge-dev/ghostty-appimage: the downloaded AppImage is not an
archive, so it must be kept as a plain file, marked executable,
and renamed by the mv ice. Asserts on files only; the Linux-only
binary is never executed since CI also runs on macOS.
Closes: https://github.com/zdharma-continuum/zinit/issues/775
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 22:20:25 -05:00
Vladislav Doster
77eb3496b4
release: v3.15.0 → v3.15.1
...
## [3.15.1](https://github.com/zdharma-continuum/zinit/compare/v3.15.0...v3.15.1 ) (2026-08-27)
### Bug Fixes
* **ices:** expand the atinit'!' ice correctly ([ed80701 ](ed80701426 ))
* **ices:** restore $OLDPWD around plugin directory hooks ([712cac1 ](712cac1952 ))
* **ices:** restore cwd even when the ice body cds ([264526a ](264526ab26 ))
* **install:** restore cwd after the configure hook ([d875651 ](d875651d59 ))
* **install:** restore cwd on early atclone return ([736403c ](736403cb39 ))
2026-08-27 23:26:35 +00:00
vladislav doster
77691d46b1
Merge pull request #811 from zdharma-continuum/fix/oldpwd-leak
...
fix: prevent leaking or corrupting the `$OLDPWD` environment variable
2026-08-27 18:25:01 -05:00
Vladislav Doster
2e77713c8e
test(ices): fix the completions-ignored assertion
...
is_not_value_in builds an associative array from its arguments, so it
died on an odd element count, which made the test depend on how many
completions earlier suites had installed. It also compared a bare name
against full paths, so it never caught a wrongly installed completion.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 04:30:41 -05:00
Vladislav Doster
c08a363b07
test(ices): extract the cwd assertion helper
...
Eight tests repeated the same four-line block asserting PWD, OLDPWD and
where cd - lands. Move it beside _oldpwd_fixture in @setup and drop the
comment paragraphs that restate the traps documented in tests/CLAUDE.md.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 04:30:41 -05:00
Vladislav Doster
4819677018
refactor(ices): simplify the cwd helpers
...
Drop the anonymous-function indirection in .zinit-cd-quiet and pass --,
collapse the duplicated landing cd in .zinit-restore-dir, and convert the
six remaining hand-rolled copies of the idiom in zinit-install.zsh to the
named helper.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 04:30:41 -05:00
Vladislav Doster
736403cb39
fix(install): restore cwd on early atclone return
...
atclone evals inline, unlike the atpull hooks, which go through
.zinit-at-eval and get a function frame that absorbs a return from the
ice body. Wrap the eval so the restore runs on every path.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 04:30:41 -05:00
Vladislav Doster
ed80701426
fix(ices): expand the atinit'!' ice correctly
...
${ICE[atinit#!]} subscripts a literal "atinit#!" key and expands to
nothing, so atinit'!...' never ran for as"command" plugins.
${ICE[atinit]#1} stripped a leading "1" instead of "!", leaving the bang
in the evaluated code. Both now strip the prefix they meant to.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 04:30:41 -05:00
Vladislav Doster
264526ab26
fix(ices): restore cwd even when the ice body cds
...
The ___moved guard skipped the restore whenever zinit did not cd
itself, so an ice body that cds under nocd stranded the shell wherever
the plugin left it. Make the restore unconditional and give
.zinit-restore-dir a fast path so the case where nothing moved stays
free.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 04:30:41 -05:00
Vladislav Doster
08530de87c
test(hook-handler): pin $HOME to the sandbox
...
The second test runs `zsh -c', which sources $HOME/.zshenv, so the
developer's own rc file would otherwise leak into $output and $state.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 04:30:33 -05:00
Vladislav Doster
a1cf6128c2
test: pin core.eol=lf for the test environment
...
With the text attribute set, core.autocrlf=false hands the decision to
core.eol, so a global core.eol=crlf still produces CRLF checkouts in the
sandbox clones.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 03:29:50 -05:00
Vladislav Doster
8f4e888328
ci: add hook-handler and ice-validation to matrix
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 03:28:26 -05:00
Vladislav Doster
a4c01374a9
build: use text=auto for the default attribute
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 03:28:26 -05:00
Vladislav Doster
4d98cd4563
test(ice-validation): fix two assertions that could not hold
...
wait-invalid-suffix-x asserted on 'Expected one of: a, b, c', but
+zi-log colourises each suffix letter separately, so the raw output
carries escape sequences between them and no such contiguous substring
exists. Strip the escapes before asserting on the sentence.
for-invalid-as asserted rc 0 while the load ran on to
∞zinit-compile-plugin-hook, which returns 1 for this fixture ("No files
for compilation found") and made `zinit for' exit 1 for a reason
unrelated to the invalid ice under test. Add nocompile so the test
measures ice validation only.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 03:28:26 -05:00
Vladislav Doster
116d30bfc8
test(hook-handler): stop re-sourcing zinit.zsh in @setup
...
@setup bodies run under ERR_EXIT. Sourcing zinit.zsh trips it partway
through, so the setup aborted and zunit reported both tests as failures
with an empty message -- which read as a broken assertion rather than a
broken fixture. The source was redundant anyway: the bootstrap already
sources zinit from the sandbox clone.
Drop the ZINIT[BIN_DIR]="$PWD" override with it. It aimed the tests at
the real checkout instead of the sandbox, the same misdirection that
lets a failed bootstrap write into the working tree. Neither test calls
a zinit function; only the hook registries are needed.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 03:28:26 -05:00
Vladislav Doster
8f01c1d451
test(ices): add $OLDPWD regression coverage for ice loading
...
Covers atload, atinit and multisrc, the nocd branch, a since-deleted
$OLDPWD, an $OLDPWD that started unset, and the configure hook.
Each test asserts where `cd -' actually lands, not just the value of
$OLDPWD: `cd -' reads zsh's internal previous-directory state, so a
parameter-only assertion passes against a fix that merely assigns
$OLDPWD while leaving the bug in place. All seven fail without the
preceding two commits.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 03:28:26 -05:00
Vladislav Doster
d875651d59
fix(install): restore cwd after the configure hook
...
∞zinit-configure-base-hook cd'd into the plugin directory inside a plain
{ } block -- not a subshell -- and every one of its four return paths
left the shell parked there. A `zinit update' on a plugin using the
configure ice moved the user's shell and never moved it back.
Wrap the block in an always clause so the directory is restored on all
paths, and use .zinit-cd-quiet instead of a bare `cd --', which was also
firing chpwd hooks and AUTO_PUSHD.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 03:28:26 -05:00
Vladislav Doster
712cac1952
fix(ices): restore $OLDPWD around plugin directory hooks
...
Every ice that runs code inside a plugin or snippet directory (atinit,
atload, multisrc, atclone, atpull, ps-on-unload) saved and restored $PWD
around the temporary cd, but never $OLDPWD. `cd -q' suppresses chpwd
hooks and `noautopushd' suppresses the directory stack, but neither
suppresses $OLDPWD, so the cd back left it pointing at the directory
just visited. Opening a new shell and pressing `cd -' jumped into a
zinit plugin directory without the user ever having gone there.
Add .zinit-cd-quiet/.zinit-restore-dir, which return to the original
$PWD by cd'ing through the original $OLDPWD for real. A plain $OLDPWD
assignment is not enough: `cd -' reads zsh's internal previous-directory
state, not the parameter, so assigning it leaves the parameter looking
correct while `cd -' still navigates to the plugin directory. When the
original $OLDPWD is empty or has since been deleted, bounce through
$PWD instead, which degrades `cd -' to a harmless no-op rather than
emitting an error and leaking the plugin directory anyway.
Also gate the restore on the cd having actually happened. It ran
unconditionally, so with the nocd ice -- where no cd takes place -- the
no-op cd back to $PWD still set OLDPWD=$PWD, silently discarding the
user's real previous directory.
Sites already protected by a real subshell, and the user-facing `zinit
cd' and `zinit create' commands that are meant to leave you in the
target directory, are left untouched.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-08-27 03:28:26 -05:00
dependabot[bot]
6842df0082
build(deps): bump Homebrew/actions/setup-homebrew from 2026.08.14.1 to 2026.08.24.1 ( #809 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-26 08:45:36 +02:00
dependabot[bot]
fc234da3ad
build(deps): bump Homebrew/actions/setup-homebrew from 2026.08.10.2 to 2026.08.14.1 ( #807 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-18 09:09:14 +02:00
vladislav doster
fb12fbc83a
Merge pull request #806 from zdharma-continuum/dependabot/github_actions/Homebrew/actions/setup-homebrew-2026.08.10.2
...
build(deps): bump Homebrew/actions/setup-homebrew from 2026.08.10.1 to 2026.08.10.2
2026-08-14 17:07:49 -05:00
dependabot[bot]
7d94266c9d
build(deps): bump Homebrew/actions/setup-homebrew
...
Bumps [Homebrew/actions/setup-homebrew](https://github.com/homebrew/actions ) from 2026.08.10.1 to 2026.08.10.2.
- [Release notes](https://github.com/homebrew/actions/releases )
- [Changelog](https://github.com/Homebrew/actions/blob/main/release.test.mts )
- [Commits](c8707045cc...b35a29a0f8 )
---
updated-dependencies:
- dependency-name: Homebrew/actions/setup-homebrew
dependency-version: 2026.08.10.2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-08-13 12:02:38 +00:00
dependabot[bot]
488b07e766
build(deps): bump EndBug/add-and-commit from 10 to 11 ( #805 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-13 08:43:58 +02:00
dependabot[bot]
feba951c29
build(deps): bump Homebrew/actions/setup-homebrew from 2026.08.03.2 to 2026.08.10.1 ( #804 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-11 23:01:29 +02:00
dependabot[bot]
571722af95
build(deps): bump Homebrew/actions/setup-homebrew from 2026.07.20.1 to 2026.08.03.2 ( #802 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-06 14:03:31 +02:00
dependabot[bot]
ded3d6eef0
build(deps): bump Homebrew/actions/setup-homebrew from 2026.07.10.1 to 2026.07.20.1 ( #798 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-28 07:00:23 +02:00
vladislav doster
e4b5083c7c
Merge pull request #797 from zdharma-continuum/ci/lint-commit-message
...
ci(style): Add commit convention job to linting workflow
2026-07-25 15:33:07 -05:00
vladislav doster
41e55eb833
ci(style): Add commit convention job to linting workflow
2026-07-25 15:31:00 -05:00
vladislav doster
824e18d4b9
Merge pull request #796 from zdharma-continuum/ci/fix-tests
...
ci(tests): parallelize zunit runs and pin CI toolchain
2026-07-25 11:14:35 -05:00
vladislav doster
7e2bb9f826
ci: disable verbose output and parallel execution in zunit
...
Updated zunit configuration to disable verbose output and parallel execution.
2026-07-25 11:09:52 -05:00
vladislav doster
1bd68690d4
ci(tests): parallelize zunit runs and pin CI toolchain
...
- Check out zdharma-continuum/zunit at feat/run-tests-in-parallel-support and
run the gh-r and plugins suites with --slice
- Pin Homebrew/actions/setup-homebrew to a commit SHA and enable its sandbox
- Drop ncurses from the brew install list, relink it explicitly, and add
jemalloc; set HOMEBREW_NO_REQUIRE_TAP_TRUST
- Expand the OS matrix to "${os}-latest" and label jobs as "<test> | <os>"
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-07-25 10:45:26 -05:00
vladislav doster
a7999260ea
Merge pull request #794 from zdharma-continuum/dependabot/github_actions/actions/labeler-7
...
build(deps): bump actions/labeler from 6 to 7
2026-07-21 20:43:57 -05:00
dependabot[bot]
66336e30f3
build(deps): bump actions/labeler from 6 to 7
...
Bumps [actions/labeler](https://github.com/actions/labeler ) from 6 to 7.
- [Release notes](https://github.com/actions/labeler/releases )
- [Commits](https://github.com/actions/labeler/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/labeler
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-07-21 12:02:31 +00:00
dependabot[bot]
9b7ffc15ad
build(deps): bump actions/setup-python from 6 to 7 ( #793 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-20 14:03:28 +02:00
onice
b1176045f9
docs: document compile execution order ( #789 )
2026-07-18 05:04:36 -05:00
dependabot[bot]
e347224fb5
build(deps): bump actions/setup-node from 6 to 7 ( #790 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-14 15:20:25 +02:00
vladislav doster
72452c99d5
Merge branch 'main' into fix/ziextract-install
2026-07-03 17:13:37 -05:00
dependabot[bot]
fcd2501fa3
build(deps): bump dawidd6/action-homebrew-bump-formula from 7 to 8 ( #788 )
...
Container images / build-containers-with-zsh (5.8) (push) Has been cancelled
Container images / build-containers-with-zsh (5.9) (push) Has been cancelled
Container images / build-container-latest (push) Has been cancelled
Documentation / zshelldoc (push) Has been cancelled
lint / markdown (push) Has been cancelled
lint / zsh (noexec) (push) Has been cancelled
lint / zsh (zcompile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (macos-latest, annexes) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (macos-latest, commands) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (macos-latest, compile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (macos-latest, config-zstyle) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (macos-latest, gh-r) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (macos-latest, ices) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (macos-latest, plugins) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (macos-latest, snippets) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (ubuntu-latest, annexes) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (ubuntu-latest, commands) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (ubuntu-latest, compile) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (ubuntu-latest, config-zstyle) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (ubuntu-latest, gh-r) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (ubuntu-latest, ices) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (ubuntu-latest, plugins) (push) Has been cancelled
tests / ${{ matrix.zunit_test }} (ubuntu-latest, snippets) (push) Has been cancelled
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-03 17:09:51 +02:00
Vladislav Doster
981cb1582e
fix(install): treat non-archive single file gracefully in ziextract.
...
Change `ziextract` when no extractor case matches and no explicit type was passed (-z $ext), file is treated as plain single file with info message
`'<file>' is not an archive — keeping it as a plain file.` plus chmod a+x. The existing exec-bit collection then picks it up, sets REPLY for --move, prints normal
success. Error message retained for explicit bogus types (ziextract file bogus-type). One iteration mid-verify: dropped -- from chmod — BSD/macOS chmod rejects it (chmod: --:
No such file or directory).
Why it broke: commit 1334994f (PR #771 ) made +x detection archive-exec-bit-only. Bare gh-r binaries arrive over HTTP with 644 and no extension => no extractor, no exec bit →
error branch. Pre-#771, file(1) detection covered this case.
Tests (tests/ices.zunit): two new — plain-file success path (asserts no error, message present, file executable) and bogus-explicit-type error
retention. Suite 16/16, including #771 's ziextract-permissions. Regression-validated: plain-file test fails 15/16 with fix stashed.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-07-02 06:58:41 -05:00
Vladislav Doster
429ab13631
release: v3.14.0 → v3.15.0
...
# [3.15.0](https://github.com/zdharma-continuum/zinit/compare/v3.14.0...v3.15.0 ) (2026-07-01)
### Bug Fixes
* .zi-check-for-git-changes runs git fetch before checking for changes ([1107460 ](1107460bcd ))
* add markdownlint exceptions to linting ([507b4e5 ](507b4e5722 ))
* avoid apostrophe that breaks typeset -f round-trip of :zinit-tmp-subst-autoload ([#783 ](https://github.com/zdharma-continuum/zinit/issues/783 )) ([d2d4237 ](d2d4237715 ))
* correct SSH URL format for private repos ([#721 ](https://github.com/zdharma-continuum/zinit/issues/721 )) ([991e4a8 ](991e4a816e ))
* corrected print-out message in self-update routine ([bb37f3b ](bb37f3bbd8 ))
* impl gh-r version detection using GitHub API ([#731 ](https://github.com/zdharma-continuum/zinit/issues/731 )) ([f1e503d ](f1e503dc3b )), closes [#r](https://github.com/zdharma-continuum/zinit/issues/r )
* prevent "permission denied" errors from empty hook handlers ([#729 ](https://github.com/zdharma-continuum/zinit/issues/729 )) ([2167408 ](2167408db2 ))
* prevent double extraction when exclamation mark modifier is used in extract'!' ([4fd38b3 ](4fd38b34e7 )), closes [#r](https://github.com/zdharma-continuum/zinit/issues/r ) [#r](https://github.com/zdharma-continuum/zinit/issues/r )
* remove `local -A OPTS` that shadows caller's parallel flag ([#774 ](https://github.com/zdharma-continuum/zinit/issues/774 )) ([e88ed77 ](e88ed77319 ))
* resolve a bug where the `-q` option for quiet mode was never dispatched ([6cf2f29 ](6cf2f2990d ))
* resolve a second issue where `git -C <path>` had to be used instead of `git --work-tree <path>` ([2e83176 ](2e83176b23 ))
* resolves a bug with github action trying to push updated docs back to external forks ([#763 ](https://github.com/zdharma-continuum/zinit/issues/763 )) ([34a1811 ](34a18112e8 ))
* silenced `zinit self-update` when in quiet mode (`-q`) ([8d154b0 ](8d154b0609 ))
* trust archive permissions instead of `file(1)` heuristics in `ziextract` ([#771 ](https://github.com/zdharma-continuum/zinit/issues/771 )) ([1334994 ](1334994f20 ))
* update `git-chglog` to `git-cliff` in gh-r tests ([18fc2cc ](18fc2cc5b9 )), closes [#r](https://github.com/zdharma-continuum/zinit/issues/r )
* Update various tools in gh-r tests ([#759 ](https://github.com/zdharma-continuum/zinit/issues/759 )) ([01eb65f ](01eb65f8ce )), closes [#r](https://github.com/zdharma-continuum/zinit/issues/r )
### Features
* validate ice arguments ([#778 ](https://github.com/zdharma-continuum/zinit/issues/778 )) ([424b241 ](424b241bc7 ))
* **zsh:** allow configuring settings like HOME_DIR/BIN_DIR via zstyle ([8f89f88 ](8f89f88cfd ))
2026-07-01 00:40:22 +00:00
vladislav doster
fbf511804c
Merge pull request #785 from zdharma-continuum/worktree-agent-a8f829c0814f3ef51
...
feat(zsh): configure ZINIT settings (`HOME_DIR`, `BIN_DIR`, …) via zstyle
2026-06-30 19:38:55 -05:00
vladislav doster
66211de7a3
Merge branch 'main' into worktree-agent-a8f829c0814f3ef51
2026-06-26 21:50:33 -05:00
vladislav doster
ed04c9cafe
Merge pull request #786 from zdharma-continuum/dependabot/github_actions/actions/checkout-7
...
build(deps): bump actions/checkout from 6 to 7
2026-06-19 12:10:17 -05:00
dependabot[bot]
0ab1ee4fb7
build(deps): bump actions/checkout from 6 to 7
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-06-19 12:02:28 +00:00
vladdoster
8f89f88cfd
feat(zsh): allow configuring settings like HOME_DIR/BIN_DIR via zstyle
...
Resolve ZINIT[...] settings from `zstyle ':zinit:config' <attr>` before
the BIN_DIR/HOME_DIR/derived-dir logic runs. The attribute name is the
hash field lowercased with `_` replaced by `-` (HOME_DIR -> home-dir).
An explicitly-set ZINIT[KEY] always wins over zstyle, which wins over
the built-in default; fully backward-compatible.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-06-18 19:05:42 -05:00
Agusti F.
d2d4237715
fix: avoid apostrophe that breaks typeset -f round-trip of :zinit-tmp-subst-autoload ( #783 )
2026-06-15 13:54:18 +02:00
Andrea Alberti
c51a835a21
Document the e- / no-e- prefix on atpull hook-group names, and fix a mislabeled section header ( #781 )
2026-06-01 09:05:22 +02:00
Andrea Alberti
27a0dc5527
## Fix extract ice not working during zinit update for from'gh-r' ( #780 )
2026-05-30 22:39:06 +02:00
Andrea Alberti
17f2c4bc74
test: replace cog gh-r test with cosign
...
replicate/cog stopped shipping a static binary in its GitHub releases
(switched to a Python wheel coglet-*.whl as of v0.20.0), which broke the
linux gh-r CI job — ziextract cannot unpack a .whl, and the linked symlink
returns 'exec format error' when run.
Replace with sigstore/cosign, which still ships static binaries
(cosign-linux-amd64 / cosign-darwin-{amd64,arm64}) and slots into
the alphabetical position between 'checkmake' and 'compress'.
2026-05-30 18:42:00 +02:00
GitHub Actions
74173749a6
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2026-05-24 08:12:20 +00:00
Tom Hale
424b241bc7
feat: validate ice arguments ( #778 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-24 10:09:43 +02:00
GitHub Actions
6c9ac1c4bc
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2026-03-24 07:52:22 +00:00
Pedro Pombeiro
e88ed77319
fix: remove local -A OPTS that shadows caller's parallel flag ( #774 )
2026-03-24 08:49:40 +01:00
dependabot[bot]
61a0244bb4
build(deps): bump EndBug/add-and-commit from 9 to 10 ( #773 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-23 22:21:42 +01:00
GitHub Actions
f40d837148
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2026-03-14 22:42:14 +00:00
Andrea Alberti
1334994f20
fix: trust archive permissions instead of file(1) heuristics in ziextract ( #771 )
2026-03-14 23:39:35 +01:00
dependabot[bot]
f82d91ccac
build(deps): bump docker/build-push-action from 6 to 7 ( #770 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-07 09:55:12 +01:00
GitHub Actions
4b4845c3b0
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2026-03-06 00:29:07 +00:00
Andrea Alberti
807590f25e
Merge pull request #761 from alberti42/fix-extract
...
- Fix incorrect double extraction when `extract` ice is used with `from'gh-r'`
- Improved documentation of `extract` ice
- Added test units for `extract` ice
2026-03-06 01:26:23 +01:00
Andrea Alberti
b4728b29f7
test: added tests for ice extract
2026-03-06 01:15:30 +01:00
Andrea Alberti
4205b399dd
docs: improve documentation of extract modifiers (their documentation was so far completely missing)
2026-03-06 01:15:30 +01:00
Andrea Alberti
4fd38b34e7
fix: prevent double extraction when exclamation mark modifier is used in extract'!'
...
When using extract'!' with from'gh-r', ziextract was called twice:
1. First by the gh-r download code (line 407) — extracting the archive directly
2. Then by the ∞zinit-extract-hook — calling ziextract --auto --move
On the second call, the .tar.gz was already gone, so --auto mode fell through to file-command detection, which identified .jar files as zip archives
and tried to extract them — corrupting the plugin and producing errors.
Fix: Both the gh-r download path (line 407) and the tarball path (line 272) now skip their direct ziextract call when the extract ice is set,
deferring entirely to the ∞zinit-extract-hook which handles it correctly.
2026-03-06 01:15:30 +01:00
Andrea Alberti
d3458542c3
ci: temporary fix for bug with katex package referencing the missing build-time constant __VERSION__ (revert in future)
...
markdownlint-cli is now pinned to version 0.44.0; waiting for a
fix upstream https://github.com/igorshubovych/markdownlint-cli/issues/606 .
When the fix is found, we should revert this commit back.
2026-03-06 01:14:44 +01:00
dependabot[bot]
1d893e53b2
build(deps): bump docker/setup-buildx-action from 3 to 4 ( #769 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 16:44:40 +01:00
dependabot[bot]
3bdc6d264b
build(deps): bump docker/login-action from 3 to 4 ( #768 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 08:46:30 +01:00
dependabot[bot]
a1d8fc5a7e
build(deps): bump docker/setup-qemu-action from 3 to 4 ( #767 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 08:43:27 +01:00
Andrea Alberti
c2cc70a9a6
maint: disable installer workflow to prevent spurious "no jobs were run" emails
2026-03-03 10:35:39 +01:00
GitHub Actions
9cc86ae0a3
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2026-03-03 08:52:06 +00:00
Andrea Alberti
0984515471
Merge pull request #762 from alberti42/fix-self-update
...
This PR fixes several bugs in `.zi-check-for-git-changes()` that broke `zinit self-update`. Most importantly, it resolves a long-standing bug that prevented zinit self-update from ever detecting upstream changes, meaning every user who ran it would silently get "Already up to date." regardless of reality.
2026-03-03 09:49:28 +01:00
vladislav doster
91e8e6a65f
maint: remove duplicate .zinit-parse-opts call in self-update case block
...
- Removed since [`.zinit-parse-opts` is ran earlier](https://github.com/zdharma-continuum/zinit/pull/762/changes#diff-475a2f1e35813d9641ea77e854b9bf0d8c36b077bedbb6ae0bde1a0529dbbf0cR2634 ) in `zinit`
2026-03-03 09:22:24 +01:00
Andrea Alberti
1c0e24fca4
test: added tests for zinit self-update. Throw error if unsupported arguments are provided.
2026-03-03 09:22:24 +01:00
vladislav doster
c68d4973a5
maint: update self-update zunit tests
...
- Add tests for `self-update` with `--help` and `--quiet` flags
- Update expected output with no flags
2026-03-03 09:22:24 +01:00
Andrea Alberti
81dd21f8d7
test: align self-update output expectation with grammatically corrected log message
...
Grammar correction suggested by @vladdoster.
2026-03-03 09:22:23 +01:00
Andrea Alberti
c9045da63a
docs: added useful comment about silencing logs during bulk updates
2026-03-03 09:22:23 +01:00
Andrea Alberti
95ba7d1dd4
refactor: implemented parsing of options for self-update using .zinit-parse-opts; extended number of supports variants, options
...
Follows suggestions from https://github.com/zdharma-continuum/zinit/pull/762#pullrequestreview-3811990006
Co-authored-by: vladislav doster <mvdoster@gmail.com>
2026-03-03 09:22:19 +01:00
Andrea Alberti
bb37f3bbd8
fix: corrected print-out message in self-update routine
...
Co-authored-by: vladislav doster <mvdoster@gmail.com>
2026-03-03 08:44:44 +01:00
Andrea Alberti
6cf2f2990d
fix: resolve a bug where the -q option for quiet mode was never dispatched
2026-03-03 08:44:44 +01:00
Andrea Alberti
8d154b0609
fix: silenced zinit self-update when in quiet mode (-q)
2026-03-03 08:44:44 +01:00
Andrea Alberti
2e83176b23
fix: resolve a second issue where git -C <path> had to be used instead of git --work-tree <path>
2026-03-03 08:44:44 +01:00
Andrea Alberti
1107460bcd
fix: .zi-check-for-git-changes runs git fetch before checking for changes
...
Bug description before the fix:
.zi-check-for-git-changes() checks if there are upstream changes by comparing HEAD...@{u}, but it does this without fetching first. It compares the local HEAD
against the locally cached upstream ref, which is stale until someone runs git fetch.
The flow:
1. .zi-check-for-git-changes runs git rev-list --left-right --count HEAD...@{u} — but @{u} refers to the local tracking ref (e.g.,
refs/remotes/origin/integrated), which hasn't been updated yet
2. Since no fetch has happened, the local tracking ref matches HEAD, so down is 0
3. The function prints "Already up-to-date." and returns 1 (no changes)
4. .zinit-self-update never enters the if block, so the git fetch + git pull on lines 2002-2024 never execute
The git fetch that would update the remote tracking refs is inside the block guarded by .zi-check-for-git-changes, so it could not be executed.
2026-03-03 08:44:44 +01:00
vladislav doster
87a8e6b0d6
ci: simplify workflow and job names ( #765 )
...
- rename lint jobs and update task matrix names
- rename labeler workflow and job
- rename zunit test workflow and job
2026-02-17 07:25:41 -06:00
vladislav doster
f2985297a9
Merge pull request #764 from zdharma-continuum/vladdoster-patch-1
...
fix: update `git-chglog` to `git-cliff` in gh-r tests
2026-02-17 06:24:20 -06:00
vladislav doster
18fc2cc5b9
fix: update git-chglog to git-cliff in gh-r tests
...
git-chglog was archived and git-cliff is actively maintained fork
2026-02-17 06:10:09 -06:00
Andrea Alberti
34a18112e8
fix: resolves a bug with github action trying to push updated docs back to external forks ( #763 )
2026-02-15 20:51:37 +01:00
vladislav doster
701657f71b
Merge pull request #760 from zdharma-continuum/ci/fix-linting
...
fix: add markdownlint exceptions to linting
2026-02-02 10:58:49 -06:00
Vladislav Doster
507b4e5722
fix: add markdownlint exceptions to linting
...
Disabled following checks:
- MD024/no-duplicate-heading
- MD059/descriptive-link-text
- MD060/table-column-style
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2026-02-02 10:50:22 -06:00
vladislav doster
01eb65f8ce
fix: Update various tools in gh-r tests ( #759 )
2026-02-01 09:43:27 +01:00
GitHub Actions
89e1858b72
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2026-01-03 13:41:34 +00:00
Andrea Alberti
55d19f86f6
Fix(self-update): Honor current branch instead of hardcoding 'main' ( #751 )
2026-01-03 14:38:58 +01:00
GitHub Actions
c756fe2e71
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2026-01-01 11:41:35 +00:00
Andrea Alberti
c720e72ee9
Feature: Add configurable non-interactive pager for updates ( #753 )
2026-01-01 12:39:01 +01:00
GitHub Actions
31a63c8cb5
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2026-01-01 11:17:04 +00:00
Andrea Alberti
893146b586
Refactor: Improve clarity and readability of run-atpull log message ( #752 )
2026-01-01 12:14:33 +01:00
dependabot[bot]
f8fb19458a
build(deps): bump dawidd6/action-homebrew-bump-formula from 6 to 7 ( #749 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-03 15:34:18 +01:00
dependabot[bot]
2c04ceb788
build(deps): bump actions/checkout from 5 to 6 ( #748 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-21 13:54:18 +01:00
dependabot[bot]
a42dba233d
build(deps): bump dawidd6/action-homebrew-bump-formula from 5 to 6 ( #747 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 13:35:40 +01:00
dependabot[bot]
d38a3cc4f3
build(deps): bump actions/setup-node from 5 to 6 ( #744 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 14:33:59 +02:00
vladislav doster
e250cd0b42
docs(HACKING.md): Iimprove formatting ( #743 )
2025-10-03 00:31:45 -05:00
vladislav doster
9f3703176a
docs(README.md): fix typos
2025-10-02 22:34:41 -05:00
GitHub Actions
eb472d1fcf
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2025-09-10 07:30:16 +00:00
Douglas de Campos Held
5784ef17f4
Fix: Timeout on downloading from GH releases ( #741 )
2025-09-10 09:27:45 +02:00
GitHub Actions
84d21fb7f2
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2025-09-05 12:29:32 +00:00
Xie Zejian
f1e503dc3b
fix: impl gh-r version detection using GitHub API ( #731 )
2025-09-05 14:27:03 +02:00
dependabot[bot]
c6dd2a69c5
build(deps): bump actions/labeler from 5 to 6 ( #740 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-05 14:03:39 +02:00
dependabot[bot]
342deb8a24
build(deps): bump actions/setup-node from 4 to 5 ( #739 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 17:45:08 +02:00
dependabot[bot]
c5b6c5e3e7
build(deps): bump actions/setup-python from 5 to 6 ( #738 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 17:44:59 +02:00
GitHub Actions
04034e62f6
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2025-08-12 18:42:07 +00:00
Nick Sherron
2167408db2
fix: prevent "permission denied" errors from empty hook handlers ( #729 )
...
Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
2025-08-12 20:39:35 +02:00
dependabot[bot]
c153788560
build(deps): bump actions/checkout from 4 to 5 ( #730 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 20:36:52 +02:00
Junior Nascimento
c84533b4ce
docs: Add async_prompt.zsh to OMZ theme migration guide ( #727 )
2025-07-23 10:46:11 +02:00
dependabot[bot]
f38e079f67
build(deps): bump dawidd6/action-homebrew-bump-formula from 4 to 5 ( #723 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-17 10:02:19 +02:00
Philipp Schmitt
2daaac2de2
Fix #719 ( #722 )
2025-06-07 15:22:07 +02:00
GitHub Actions
610551726b
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2025-06-05 09:56:18 +00:00
sienks
991e4a816e
fix: correct SSH URL format for private repos ( #721 )
...
Co-authored-by: sienks <sienks@sienk.dev>
2025-06-05 11:53:41 +02:00
GitHub Actions
9a3e5c9797
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2025-05-24 04:55:31 +00:00
Kartik Yadav
6a51ac7125
Changes to create $ZSH_CACHE_DIR/completions directory ( #708 )
2025-05-24 06:52:57 +02:00
Björn Richter
25c18b5b2a
docs: Add instructions for how to disable global compinit on NixOS ( #717 )
2025-04-25 21:47:14 +02:00
Philipp Schmitt
5c0c0454de
ci: disable container builds for old versions of zsh ( #704 )
Container images / build-containers-with-zsh (5.8) (push) Has been cancelled
Container images / build-containers-with-zsh (5.9) (push) Has been cancelled
Container images / build-container-latest (push) Has been cancelled
Documentation / zshelldoc (push) Has been cancelled
Lint / Markdown Lint (push) Has been cancelled
Lint / ZSH Lint (zsh-noexec) (push) Has been cancelled
Lint / ZSH Lint (zsh-zcompile) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, annexes) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, commands) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, compile) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, gh-r) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, ices) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, plugins) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, snippets) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, annexes) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, commands) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, compile) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, gh-r) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, ices) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, plugins) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, snippets) (push) Has been cancelled
2025-02-18 17:57:53 +01:00
Philipp Schmitt
8a7257a8e5
installer: Set min zsh version to 5.8 ( #696 )
2025-02-18 17:51:33 +01:00
Philipp Schmitt
091ddfeee5
ci: disable navi gh-r test on mac os ( #702 )
2025-02-18 17:50:58 +01:00
Joseph Lee
3186c68346
fix completions in zinit update ( #701 )
2025-02-18 17:03:06 +01:00
NICHOLAS85
773852f588
fix: global variable in ∞zinit-file-cp-mv-operation ( #699 )
Container images / build-containers-with-zsh (5.2.4) (push) Has been cancelled
Container images / build-containers-with-zsh (5.3.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.4.2) (push) Has been cancelled
Container images / build-containers-with-zsh (5.5.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.6.2) (push) Has been cancelled
Container images / build-containers-with-zsh (5.7.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.8) (push) Has been cancelled
Container images / build-containers-with-zsh (5.9) (push) Has been cancelled
Container images / build-container-latest (push) Has been cancelled
Documentation / zshelldoc (push) Has been cancelled
Lint / Markdown Lint (push) Has been cancelled
Lint / ZSH Lint (zsh-noexec) (push) Has been cancelled
Lint / ZSH Lint (zsh-zcompile) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, annexes) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, commands) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, compile) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, gh-r) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, ices) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, plugins) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, snippets) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, annexes) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, commands) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, compile) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, gh-r) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, ices) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, plugins) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, snippets) (push) Has been cancelled
2025-02-01 08:45:31 +01:00
Philipp Schmitt
b096d6ef53
Fix tables in README
...
Container images / build-containers-with-zsh (5.2.4) (push) Has been cancelled
Container images / build-containers-with-zsh (5.3.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.4.2) (push) Has been cancelled
Container images / build-containers-with-zsh (5.5.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.6.2) (push) Has been cancelled
Container images / build-containers-with-zsh (5.7.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.8) (push) Has been cancelled
Container images / build-containers-with-zsh (5.9) (push) Has been cancelled
Lint / Markdown Lint (push) Has been cancelled
Container images / build-container-latest (push) Has been cancelled
Documentation / zshelldoc (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, annexes) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, commands) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, compile) (push) Has been cancelled
Lint / ZSH Lint (zsh-noexec) (push) Has been cancelled
Lint / ZSH Lint (zsh-zcompile) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, gh-r) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, ices) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, plugins) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, snippets) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, annexes) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, commands) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, compile) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, gh-r) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, ices) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, plugins) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, snippets) (push) Has been cancelled
- Revert "lint: fmt README.md (#694 )" (#695 )
- Switch to markdownlint
- Fix markdown linting issues
2025-01-28 18:01:31 +01:00
Philipp Schmitt
f654c77ef1
lint: fmt README.md ( #694 )
Container images / build-container-latest (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, annexes) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, commands) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, compile) (push) Has been cancelled
Container images / build-containers-with-zsh (5.2.4) (push) Has been cancelled
Container images / build-containers-with-zsh (5.3.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.4.2) (push) Has been cancelled
Container images / build-containers-with-zsh (5.5.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.6.2) (push) Has been cancelled
Container images / build-containers-with-zsh (5.7.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.8) (push) Has been cancelled
Container images / build-containers-with-zsh (5.9) (push) Has been cancelled
Documentation / zshelldoc (push) Has been cancelled
Lint / Lint (markdown) (push) Has been cancelled
Lint / Lint (zsh-noexec) (push) Has been cancelled
Lint / Lint (zsh-zcompile) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, gh-r) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, ices) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, plugins) (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest, snippets) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, annexes) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, commands) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, compile) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, gh-r) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, ices) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, plugins) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest, snippets) (push) Has been cancelled
2025-01-26 10:14:29 +01:00
Philipp Schmitt
c8246d7223
ci: Disable commit lint, and disable fail-fast for zunit tests ( #693 )
Container images / build-containers-with-zsh (5.2.4) (push) Waiting to run
Container images / build-containers-with-zsh (5.3.1) (push) Waiting to run
Container images / build-containers-with-zsh (5.4.2) (push) Waiting to run
Container images / build-containers-with-zsh (5.5.1) (push) Waiting to run
Container images / build-containers-with-zsh (5.6.2) (push) Waiting to run
Container images / build-containers-with-zsh (5.7.1) (push) Waiting to run
Container images / build-containers-with-zsh (5.8) (push) Waiting to run
Container images / build-containers-with-zsh (5.9) (push) Waiting to run
Container images / build-container-latest (push) Waiting to run
Documentation / zshelldoc (push) Waiting to run
Lint / Lint (push) Waiting to run
Unit Tests / zunit-tests (macos-latest, gh-r) (push) Waiting to run
Unit Tests / zunit-tests (macos-latest, ices) (push) Waiting to run
Unit Tests / zunit-tests (macos-latest, plugins) (push) Waiting to run
Unit Tests / zunit-tests (macos-latest, snippets) (push) Waiting to run
Unit Tests / zunit-tests (ubuntu-latest, annexes) (push) Waiting to run
Unit Tests / zunit-tests (ubuntu-latest, commands) (push) Waiting to run
Unit Tests / zunit-tests (ubuntu-latest, compile) (push) Waiting to run
Unit Tests / zunit-tests (ubuntu-latest, gh-r) (push) Waiting to run
Unit Tests / zunit-tests (ubuntu-latest, ices) (push) Waiting to run
Unit Tests / zunit-tests (ubuntu-latest, plugins) (push) Waiting to run
Unit Tests / zunit-tests (ubuntu-latest, snippets) (push) Waiting to run
Unit Tests / zunit-tests (macos-latest, annexes) (push) Waiting to run
Unit Tests / zunit-tests (macos-latest, commands) (push) Waiting to run
Unit Tests / zunit-tests (macos-latest, compile) (push) Waiting to run
2025-01-26 00:33:57 +01:00
GitHub Actions
0627eb4678
docs: generate
...
Signed-off-by: GitHub Actions <actions@github.com>
2025-01-25 23:32:25 +00:00
vladislav doster
947c1ba03d
feat: check for eza to use in $ZINIT[LIST_COMMAND] option ( #636 )
...
Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
Co-authored-by: HeroCC <HeroCC@users.noreply.github.com>
2025-01-26 00:18:35 +01:00
Philipp Schmitt
9cd774edbb
ci: Fix typo in ice zunit test for mv ( #692 )
2025-01-26 00:16:24 +01:00
Andrea Alberti
e5fe687489
Allows the user to provide multiple files in the cp / mv ICE separated by ; ( #690 )
...
Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
2025-01-26 00:15:44 +01:00
Philipp Schmitt
50643c6e6e
fix: gh-r zunit tests ( #691 )
2025-01-26 00:01:13 +01:00
Joseph Lee
1e60350e75
docs: fix a few words ( #688 )
Container images / build-containers-with-zsh (5.2.4) (push) Has been cancelled
Container images / build-containers-with-zsh (5.3.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.4.2) (push) Has been cancelled
Container images / build-containers-with-zsh (5.5.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.6.2) (push) Has been cancelled
Container images / build-containers-with-zsh (5.7.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.8) (push) Has been cancelled
Container images / build-containers-with-zsh (5.9) (push) Has been cancelled
Container images / build-container-latest (push) Has been cancelled
Documentation / zshelldoc (push) Has been cancelled
Lint / Lint (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest) (push) Has been cancelled
2025-01-20 08:56:30 +01:00
vladislav doster
c346949645
fix(gh-r.zunit): alist org name ( #680 )
Container images / build-containers-with-zsh (5.2.4) (push) Has been cancelled
Container images / build-containers-with-zsh (5.3.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.4.2) (push) Has been cancelled
Container images / build-containers-with-zsh (5.5.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.6.2) (push) Has been cancelled
Container images / build-containers-with-zsh (5.7.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.8) (push) Has been cancelled
Container images / build-containers-with-zsh (5.9) (push) Has been cancelled
Container images / build-container-latest (push) Has been cancelled
Documentation / zshelldoc (push) Has been cancelled
Lint / Lint (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest) (push) Has been cancelled
2024-11-08 17:10:16 -06:00
dependabot[bot]
0c471af3fe
build(deps): bump dawidd6/action-homebrew-bump-formula from 3 to 4 ( #673 )
...
Container images / build-containers-with-zsh (5.3.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.2.4) (push) Has been cancelled
Container images / build-containers-with-zsh (5.4.2) (push) Has been cancelled
Container images / build-containers-with-zsh (5.5.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.6.2) (push) Has been cancelled
Container images / build-containers-with-zsh (5.7.1) (push) Has been cancelled
Container images / build-containers-with-zsh (5.8) (push) Has been cancelled
Container images / build-containers-with-zsh (5.9) (push) Has been cancelled
Container images / build-container-latest (push) Has been cancelled
Documentation / zshelldoc (push) Has been cancelled
Lint / Lint (push) Has been cancelled
Unit Tests / zunit-tests (macos-latest) (push) Has been cancelled
Unit Tests / zunit-tests (ubuntu-latest) (push) Has been cancelled
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 12:49:42 +02:00
dependabot[bot]
d05a530115
build(deps): bump docker/build-push-action from 5 to 6 ( #661 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 14:49:02 +02:00
qadzek
e3302842b9
docs: fix typos ( #658 )
2024-06-04 08:56:06 +02:00
dependabot[bot]
8a219b8b4d
build(deps): bump wagoid/commitlint-github-action from 5 to 6 ( #649 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-29 17:41:08 +01:00
vladislav doster
e8c3205a2f
fix(zinit-install): simplify protocol pattern ( #645 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2024-03-20 01:18:37 -05:00
Kilian Tyler
7094330387
fix: add command before instances of git that didn't have it ( #643 )
...
Co-authored-by: vladislav doster <10052309+vladdoster@users.noreply.github.com>
2024-03-19 17:55:18 -05:00
vladislav doster
0c18fda87f
test(fx): pin version to 32.0.0 ( #644 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2024-03-19 15:02:36 -05:00
vladislav doster
b7b8347cad
fix: compile command logic when using id-as ice ( #619 )
...
- Updated README.md `compiling` section
- Compile commands now work with `id-as` ice
- Compile command options added to tab completion
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2024-03-03 23:43:48 -06:00
vladislav doster
6511ca7fe3
fix(configure ice): remove default --quiet flag ( #637 )
2024-02-20 04:28:11 -06:00
vladislav doster
8a64c2453d
ci(tests): bump brew lua5.1 -> lua5.4 ( #638 )
2024-02-20 04:05:29 -06:00
dependabot[bot]
e5bb1c506a
build(deps): bump actions/checkout from 3 to 4 ( #630 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-26 01:38:33 -06:00
vladislav doster
d65206ffff
ci: move bump homebrew version to own file ( #629 )
...
Signed-off-by: Doster, Vladislav <mvdoster@gmail.com>
2024-01-22 00:58:49 -06:00
Vladislav Doster
30514edc4a
release: v3.13.0 → v3.13.1
...
## [3.13.1](https://github.com/zdharma-continuum/zinit/compare/v3.13.0...v3.13.1 ) (2024-01-22)
### Bug Fixes
* `plugins` command correctly handles keyword argument ([#626 ](https://github.com/zdharma-continuum/zinit/issues/626 )) ([f26d387 ](f26d387e51 ))
2024-01-22 05:15:32 +00:00
vladislav doster
90b057cd26
ci(release): bump zinit homebrew formula ( #628 )
2024-01-21 23:14:00 -06:00
vladislav doster
f26d387e51
fix: plugins command correctly handles keyword argument ( #626 )
2024-01-18 20:28:54 -06:00
Vladislav Doster
9ce9ec6367
release: v3.12.1 → v3.13.0
...
# [3.13.0](https://github.com/zdharma-continuum/zinit/compare/v3.12.1...v3.13.0 ) (2024-01-18)
### Bug Fixes
* **ci:** remove duplicate gh-r zunit job ([#623 ](https://github.com/zdharma-continuum/zinit/issues/623 )) ([70cefc0 ](70cefc086a ))
* debug logging logic and format ([#592 ](https://github.com/zdharma-continuum/zinit/issues/592 )) ([3c7e5be ](3c7e5be07d ))
* handle zinit --help ([#597 ](https://github.com/zdharma-continuum/zinit/issues/597 )) ([8cf9104 ](8cf9104ac0 ))
* link ice check in .zinit-download-snippet function ([#608 ](https://github.com/zdharma-continuum/zinit/issues/608 )) ([358ef03 ](358ef03785 ))
* pin dua gh-r test to v2.20.3 ([#605 ](https://github.com/zdharma-continuum/zinit/issues/605 )) ([0ba778a ](0ba778ac73 ))
* silence unzip command in ziextract ([#614 ](https://github.com/zdharma-continuum/zinit/issues/614 )) ([71764bf ](71764bf2ca ))
* tar permissions when `ziextract` ran as root user ([#557 ](https://github.com/zdharma-continuum/zinit/issues/557 )) ([e2d477c ](e2d477cde4 ))
* update labeler config to v5 ([#604 ](https://github.com/zdharma-continuum/zinit/issues/604 )) ([794723c ](794723cc48 ))
### Features
* configure, make, cmake, and build ices ([#613 ](https://github.com/zdharma-continuum/zinit/issues/613 )) ([#616 ](https://github.com/zdharma-continuum/zinit/issues/616 )) ([22e66db ](22e66db478 ))
* **delete:** fix unsetting plugin state & add `--debug` / `--quiet` flags ([#622 ](https://github.com/zdharma-continuum/zinit/issues/622 )) ([3f4b685 ](3f4b685622 ))
* remove zpextract and use ziextract ([#611 ](https://github.com/zdharma-continuum/zinit/issues/611 )) ([2ccac85 ](2ccac85e37 ))
2024-01-18 20:02:57 +00:00
vladislav doster
722d13c893
ci: bump node version to v20 in release workflow ( #624 )
2024-01-18 14:02:10 -06:00
vladislav doster
3f4b685622
feat(delete): fix unsetting plugin state & add --debug / --quiet flags ( #622 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2024-01-18 13:40:55 -06:00
vladislav doster
70cefc086a
fix(ci): remove duplicate gh-r zunit job ( #623 )
2024-01-14 15:44:06 -06:00
vladislav doster
353b3402f9
style: set log message prefix color to blue ( #620 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2024-01-13 22:08:30 -06:00
vladislav doster
22e66db478
feat: configure, make, cmake, and build ices ( #613 ) ( #616 )
...
* Refactored 'configure' and 'make' ices
* New 'build' ice sets 'configure' and 'make ices if no flags are needed.
* New 'cmake' ice will build/install using 'cmake'
* Delete command now handles programs using 'make' and 'cmake' ices
* Setting `$ZINIT[DEBUG]` enables debug logging (i.e., `+zi-log "{dbg} message ..."`)
2024-01-09 04:11:39 -06:00
yyykt
e2d477cde4
fix: tar permissions when ziextract ran as root user ( #557 )
2024-01-02 17:40:17 -06:00
vladislav doster
71764bf2ca
fix: silence unzip command in ziextract ( #614 )
2023-12-29 18:39:09 -06:00
vladislav doster
9cf5b17198
ci: pin mcfly version gh-r test ( #615 )
2023-12-24 19:13:24 -06:00
vladislav doster
2ccac85e37
feat: remove zpextract and use ziextract ( #611 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-12-24 10:36:51 -06:00
vladislav doster
358ef03785
fix: link ice check in .zinit-download-snippet function ( #608 )
2023-12-15 22:40:25 -06:00
vladislav doster
0ba778ac73
fix: pin dua gh-r test to v2.20.3 ( #605 )
2023-12-08 20:19:49 -06:00
vladislav doster
794723cc48
fix: update labeler config to v5 ( #604 )
2023-12-08 20:13:30 -06:00
vladislav doster
4d623cbfae
ci: fix invalid labeler configuration ( #603 )
2023-12-08 19:54:04 -06:00
dependabot[bot]
0fde0ef66b
build(deps): bump actions/labeler from 4 to 5 ( #600 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 17:56:00 -06:00
dependabot[bot]
b5cc616a9c
build(deps): bump actions/setup-python from 4 to 5 ( #601 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 17:55:53 -06:00
vladislav doster
8cf9104ac0
fix: handle zinit --help ( #597 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-12-04 05:30:34 -06:00
vladislav doster
3c7e5be07d
fix: debug logging logic and format ( #592 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-11-20 17:59:43 -06:00
Vladislav Doster
2a59b1ddc6
release: v3.12.0 → v3.12.1
...
## [3.12.1](https://github.com/zdharma-continuum/zinit/compare/v3.12.0...v3.12.1 ) (2023-11-20)
### Bug Fixes
* container zshelldoc install ([#591 ](https://github.com/zdharma-continuum/zinit/issues/591 )) ([8170753 ](8170753a5d ))
* from'gh-r' skips compile by default ([#590 ](https://github.com/zdharma-continuum/zinit/issues/590 )) ([1f52eee ](1f52eee1b1 ))
* respect delete flags after positional arguments ([#587 ](https://github.com/zdharma-continuum/zinit/issues/587 )) ([e18f9a7 ](e18f9a7da2 ))
* set home dir to test env in gh-r tests ([#582 ](https://github.com/zdharma-continuum/zinit/issues/582 )) ([9b33288 ](9b33288b4a ))
* use $MACHTYPE instead of arch command ([#588 ](https://github.com/zdharma-continuum/zinit/issues/588 )) ([bcf70e8 ](bcf70e8268 ))
2023-11-20 11:51:44 +00:00
vladislav doster
1f52eee1b1
fix: from'gh-r' skips compile by default ( #590 )
...
Skip compile when from'gh-r' ice is set unless compile is also set.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-11-20 05:50:12 -06:00
vladislav doster
8170753a5d
fix: container zshelldoc install ( #591 )
2023-11-20 05:41:40 -06:00
Philipp Schmitt
bcf70e8268
fix: use $MACHTYPE instead of arch command ( #588 )
2023-10-31 11:39:56 -05:00
vladislav doster
e18f9a7da2
fix: respect delete flags after positional arguments ( #587 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-10-29 03:30:12 -05:00
dependabot[bot]
e1df662973
build(deps): bump actions/setup-node from 3 to 4 ( #584 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-27 07:25:22 +02:00
vladislav doster
e458e8288e
refactor: clist subcommand renamed to completions ( #583 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-09-30 18:46:19 -05:00
vladislav doster
9b33288b4a
fix: set home dir to test env in gh-r tests ( #582 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-09-29 02:12:46 -05:00
vladislav doster
2e7b9aa29e
ci: optimize zunit tests ( #572 )
...
- cache test plugin dependencies
- add gh-r zunit tests
- fix ipinfo zunit test
- pin qsv version to 0.112.0 for macOS x86_64
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-09-14 05:13:59 -05:00
dependabot[bot]
b88b6a2959
build(deps): bump docker/setup-qemu-action from 2 to 3 ( #578 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 18:34:26 +02:00
dependabot[bot]
7a65999a30
build(deps): bump docker/build-push-action from 4 to 5 ( #577 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 18:32:45 +02:00
dependabot[bot]
00e1a11cd2
build(deps): bump docker/setup-buildx-action from 2 to 3 ( #579 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 18:32:35 +02:00
dependabot[bot]
86564bedf2
build(deps): bump docker/login-action from 2 to 3 ( #580 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 18:32:25 +02:00
dependabot[bot]
0a1ee8271e
build(deps): bump actions/checkout from 3 to 4 ( #573 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 16:51:21 +02:00
Vladislav Doster
edf30619e9
release: v3.11.0 → v3.12.0
...
# [3.12.0](https://github.com/zdharma-continuum/zinit/compare/v3.11.0...v3.12.0 ) (2023-08-30)
### Bug Fixes
* build container for tagged releases ([f933dc0 ](f933dc028e ))
* gh-r linux regex & gh-r zunit tests ([#564 ](https://github.com/zdharma-continuum/zinit/issues/564 )) ([207ab9f ](207ab9f281 ))
* gh-r zunit tests ([#561 ](https://github.com/zdharma-continuum/zinit/issues/561 )) ([97b087e ](97b087e68a ))
* Ignore .yaml and .py files when installing completions ([#528 ](https://github.com/zdharma-continuum/zinit/issues/528 )) ([113cfc4 ](113cfc47fb ))
* jq has moved from stedolan/jq to jqlang/jq ([#530 ](https://github.com/zdharma-continuum/zinit/issues/530 )) ([de85908 ](de85908f8d ))
* math expression in plugins command ([#559 ](https://github.com/zdharma-continuum/zinit/issues/559 )) ([68a6b42 ](68a6b42caf ))
* pin fclones version to v0.31.0 ([497d519 ](497d519d99 ))
* quote parens so that they aren't used as globs ([#549 ](https://github.com/zdharma-continuum/zinit/issues/549 )) ([1375adf ](1375adf8f8 ))
* self-update check for updates ([#562 ](https://github.com/zdharma-continuum/zinit/issues/562 )) ([b456a2d ](b456a2dba6 ))
* update gomi repo owner ([#568 ](https://github.com/zdharma-continuum/zinit/issues/568 )) ([19ca2dc ](19ca2dc361 ))
### Features
* build container with zsh 5.9 ([#525 ](https://github.com/zdharma-continuum/zinit/issues/525 )) ([238e843 ](238e843d60 ))
2023-08-30 04:34:46 +00:00
vladislav doster
207ab9f281
fix: gh-r linux regex & gh-r zunit tests ( #564 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-08-29 23:33:00 -05:00
vladislav doster
b456a2dba6
fix: self-update check for updates ( #562 )
...
Signed-off-by: Doster, Vladislav <mvdoster@gmail.com>
2023-08-28 04:17:59 -05:00
vladislav doster
19ca2dc361
fix: update gomi repo owner ( #568 )
2023-08-28 03:42:44 -05:00
Aaron Lichtman
5568128706
Merge pull request #565 from psprint/document-zpfx-var
2023-08-21 09:41:53 -07:00
Sebastian Gniazdowski
fe8064a391
docs: document $ZPFX variable in README
2023-08-21 13:50:51 -05:00
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
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
vladislav doster
5ef0bc5613
Merge pull request #461 from zdharma-continuum/fix/update-linux-pattern
...
fix: gh-r pattern for x86_64 linux-gnu systems
2023-01-13 18:28:54 -06:00
Vladislav Doster
b5a31c07f2
fix: gh-r pattern for 64bit linux-gnu systems
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-01-14 00:01:00 +00:00
Sebastian Gniazdowski
bd65a01734
fix: assign to functions hash to make %x work
...
The useful %x prompt expansion can be used to get path to the executed script:
0=${(%):-%x}
It is always the correct, expected value, even for autoloaded functions. However,
it currently doesn't work with Zinit special fpath-pollution free autoload.
This patch fixes this.
2023-01-13 16:34:03 +00:59
vladislav doster
52e112c7c3
Merge pull request #455 from zdharma-continuum/ci/gh-r-dstask-test
...
ci: add `naggie/dstask` gh-r test
2023-01-08 15:43:13 -06:00
Vladislav Doster
ecae986bb2
ci: add dstask gh-r test
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-01-08 15:25:42 -06:00
vladislav doster
ff62ffba58
Merge pull request #454 from zdharma-continuum/refactor/zinit-install
...
fix: gh-r bpick ice logging
2023-01-08 07:17:45 -06:00
Vladislav Doster
ad88a890ad
fix: gh-r & bpick ice log format and content
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-01-08 02:24:40 -06:00
vladislav doster
599859b38a
Merge pull request #444 from zdharma-continuum/refactor/zinit-install
...
fix: gh-r system arch detection edge-cases
2023-01-07 22:49:29 -06:00
Vladislav Doster
7e486519d7
fix: gh-r parsing logic for arm64 & logging style
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-01-05 10:02:44 -06:00
Vladislav Doster
d618467ff0
fix: failing zunit tests & bootstrap script
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2023-01-05 04:36:25 -06:00
Michael Bianco
5e1c79cb22
Add conditional directory and git cloning calls to setup instructions
...
Without this, you'll get an error on each terminal startup.
2023-01-03 08:38:43 -07:00
Vladislav Doster
515688bc97
revert: "Merge branch 'refactor/zinit-function-names' into main"
...
This reverts commit b979847bd4 , reversing
changes made to da924a21a1 .
I (@vladdoster) accidentally merged this into the wrong repository. Apologies for the lack of due diligence.
2022-12-17 21:11:41 -06:00
vladislav doster
b979847bd4
Merge branch 'refactor/zinit-function-names' into main
2022-12-17 18:22:20 -06:00
Vladislav Doster
da924a21a1
release: v3.8.0 → v3.9.0
...
# [3.9.0](https://github.com/zdharma-continuum/zinit/compare/v3.8.0...v3.9.0 ) (2022-12-17)
### Bug Fixes
* remove broken gh-r zunit test for "warp" ([#430 ](https://github.com/zdharma-continuum/zinit/issues/430 )) ([64fa4ae ](64fa4aef3a ))
### Features
* add `completions` ice ([#417 ](https://github.com/zdharma-continuum/zinit/issues/417 )) ([59975d7 ](59975d70d7 ))
* display version via `version` sub command ([bfb01e6 ](bfb01e65d7 ))
### Performance Improvements
* reduce scheduler task check to 10 second interval ([#429 ](https://github.com/zdharma-continuum/zinit/issues/429 )) ([1681ce4 ](1681ce40eb ))
### Reverts
* "perf: reduce scheduler task check to 10 second interval ([#429 ](https://github.com/zdharma-continuum/zinit/issues/429 ))" ([#432 ](https://github.com/zdharma-continuum/zinit/issues/432 )) ([cfd3261 ](cfd3261892 ))
2022-12-17 13:48:27 +00:00
vladislav doster
708684c368
Merge pull request #440 from vladdoster/feat/version-subcmd
...
feat: display version via `version` sub command
2022-12-17 07:42:45 -06:00
Vladislav Doster
bfb01e65d7
feat: display version via version sub command
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-17 06:14:46 -06:00
Vladislav Doster
a72fb83f09
fix: container build & shell make targets
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-16 02:01:34 -06:00
Vladislav Doster
14b2cda039
fix: container build & shell make targets
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-16 01:36:05 -06:00
Vladislav Doster
370808dd51
fix: container build & shell make targets
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-16 01:29:57 -06:00
Vladislav Doster
47bd74f8a7
fix: container build & shell make targets
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-16 01:28:46 -06:00
Vladislav Doster
f8eb967b0e
fix: container build & shell make targets
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-16 01:17:58 -06:00
Vladislav Doster
3af321e8e4
fix: container build & shell make targets
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-15 22:45:35 -06:00
Vladislav Doster
2b460a74f2
fix: vim modelines & zsdoc pdf rendering
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-15 22:22:48 -06:00
Vladislav Doster
0e45493e36
fix: change prefix ~zi:: to __zi::
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-16 03:45:16 +00:00
Vladislav Doster
75bb73547e
fix: file modelines
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-15 12:01:15 -06:00
Vladislav Doster
dd04896449
fix: make target docker cmd flags
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-15 12:01:04 -06:00
Vladislav Doster
c28580c3fc
refactor: rename zinit functions
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-12-09 15:40:31 -06:00
Jan Katins
59975d70d7
feat: add completions ice ( #417 )
...
This can be used to overwrite `as'null'`, which would otherwise not trigger
completion detection and installation.
It will override the `nocompletions` ice when both are specified (e.g., using
the default ice annex).
2022-12-05 07:21:28 -06:00
vladislav doster
cfd3261892
revert: "perf: reduce scheduler task check to 10 second interval ( #429 )" ( #432 )
...
This reverts commit 1681ce40eb .
2022-11-30 18:50:52 -06:00
Sebastian Gniazdowski
1681ce40eb
perf: reduce scheduler task check to 10 second interval ( #429 )
2022-11-30 14:55:38 -06:00
vladislav doster
64fa4aef3a
fix: remove broken gh-r zunit test for "warp" ( #430 )
...
* remove broken gh-r zunit test for "warp"
* set LC_CTYPE & LANG env variables for macOS
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-11-20 17:08:42 -06:00
Vladislav Doster
0c1839a18b
revert: "perf: decrease scheduler checks from every 1 second to 10 seconds ( #409 )"
...
This reverts commit 4938e84827 .
2022-11-20 03:47:48 -06:00
vladislav doster
9e6f835b73
ci: add commit linting via commitlint ( #428 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-11-20 03:19:34 -06:00
Sebastian Gniazdowski
4938e84827
perf: decrease scheduler checks from every 1 second to 10 seconds ( #409 )
...
The scheduler is called in 10 seconds intervals when no tasks are present to lower CPU usage.
Co-authored-by: vladislav doster <10052309+vladdoster@users.noreply.github.com>
2022-11-19 23:21:38 -06:00
Aaron Lichtman
1e5c0e9389
Merge pull request #424 from zdharma-continuum/revert-419-man-fix
...
Revert "Copy doc/zinit.1 only if it exists. Fixes #418."
2022-11-18 05:01:04 -08:00
Aaron Lichtman
33fa18af98
Revert "Copy doc/zinit.1 only if it exists. Fixes #418."
2022-11-18 04:57:33 -08:00
Aaron Lichtman
4c94ad29f7
Merge pull request #419 from psprint/man-fix
...
Copy doc/zinit.1 only if it exists. Fixes #418 .
2022-11-18 04:54:45 -08:00
Sebastian Gniazdowski
4bfc7ecbe3
Copy doc/zinit.1 only if it exists. Fixes #418 .
2022-11-08 10:01:39 +00:59
Vladislav Doster
a27d7e0b57
release: v3.7.0 → v3.8.0
...
# [3.8.0](https://github.com/zdharma-continuum/zinit/compare/v3.7.0...v3.8.0 ) (2022-11-07)
### Bug Fixes
* account for systems where musl is present ([#269 ](https://github.com/zdharma-continuum/zinit/issues/269 )) ([8620574 ](8620574a55 ))
* alist repository for gh-r test ([#305 ](https://github.com/zdharma-continuum/zinit/issues/305 )) ([fb3c082 ](fb3c082551 ))
* allow zinit to be run from non-interactive scripts ([#227 ](https://github.com/zdharma-continuum/zinit/issues/227 )) ([c3d1bb5 ](c3d1bb586c )), closes [#199 ](https://github.com/zdharma-continuum/zinit/issues/199 )
* broken yaml syntax in issue template ([#355 ](https://github.com/zdharma-continuum/zinit/issues/355 )) ([f729e06 ](f729e065db ))
* calico gh-r zunit test ([#356 ](https://github.com/zdharma-continuum/zinit/issues/356 )) ([56fb9e0 ](56fb9e0b1d ))
* change ctags symbols browser key binding from `ctrl-k` to `alt-Q` ([#387 ](https://github.com/zdharma-continuum/zinit/issues/387 )) ([7f6dc7d ](7f6dc7da6c )), closes [#386 ](https://github.com/zdharma-continuum/zinit/issues/386 )
* Do not try to escape exclamation marks ([#399 ](https://github.com/zdharma-continuum/zinit/issues/399 )) ([0e55b2e ](0e55b2ea67 ))
* docs workflow should fail if out-of-date ([#278 ](https://github.com/zdharma-continuum/zinit/issues/278 )) ([07cde66 ](07cde66008 ))
* Don't error if $OPTS is not yet defined in .zinit-compinit call ([44765e0 ](44765e0bcb ))
* filter by runtime detected CPU before compiled CPU ([#304 ](https://github.com/zdharma-continuum/zinit/issues/304 )) ([a4dc13f ](a4dc13f66a )), closes [#287 ](https://github.com/zdharma-continuum/zinit/issues/287 )
* gh-r & plugin zunit tests ([dd12fce ](dd12fce3f4 ))
* gh-r filters i686 (32 bit) for x86_64 ([#226 ](https://github.com/zdharma-continuum/zinit/issues/226 )) ([57f0d82 ](57f0d82118 )), closes [#225 ](https://github.com/zdharma-continuum/zinit/issues/225 )
* gh-r logic ignores [36]86 assets ([#235 ](https://github.com/zdharma-continuum/zinit/issues/235 )) ([d60638f ](d60638f221 )), closes [#225 ](https://github.com/zdharma-continuum/zinit/issues/225 ) [#246 ](https://github.com/zdharma-continuum/zinit/issues/246 ) [#247 ](https://github.com/zdharma-continuum/zinit/issues/247 )
* gh-r removes linux32 assets on 64 bit OS ([1864c0b ](1864c0be09 ))
* gh-r retrieves release data GH REST API ([#373 ](https://github.com/zdharma-continuum/zinit/issues/373 )) ([4a2a120 ](4a2a120b34 )), closes [#374 ](https://github.com/zdharma-continuum/zinit/issues/374 )
* modify regex in gh-r for assets to not consider for selection ([#244 ](https://github.com/zdharma-continuum/zinit/issues/244 )) ([6ef8439 ](6ef84398b2 ))
* more cleaning up urls ([672ae51 ](672ae51414 )), closes [#47 ](https://github.com/zdharma-continuum/zinit/issues/47 )
* names of ctag Make target deps ([#407 ](https://github.com/zdharma-continuum/zinit/issues/407 )) ([9987d5c ](9987d5c781 ))
* package are broken again ([24f10f6 ](24f10f6367 ))
* permissions for PR labeler GH action workflow ([#236 ](https://github.com/zdharma-continuum/zinit/issues/236 )) ([8a0d567 ](8a0d5678d1 ))
* read without -r is generally bad. ([00c70a4 ](00c70a434d ))
* remove curl option "--tcp-fastopen" which is not always available ([#299 ](https://github.com/zdharma-continuum/zinit/issues/299 )) ([308c9d4 ](308c9d4cd8 ))
* remove macOS 10.5 & 11 from test matrix ([c613193 ](c61319378d ))
* remove use less line ([4f87076 ](4f87076601 ))
* rename `docs` to `doc` to match doc dir ([#212 ](https://github.com/zdharma-continuum/zinit/issues/212 )) ([3a7dc95 ](3a7dc95f02 ))
* rm linux32 assets in aarch64/arm64 gh-r regex ([#414 ](https://github.com/zdharma-continuum/zinit/issues/414 )) ([529aa20 ](529aa20f42 ))
* syntax error when checking for `realpath` command ([#259 ](https://github.com/zdharma-continuum/zinit/issues/259 )) ([05559eb ](05559ebdbc )), closes [#257 ](https://github.com/zdharma-continuum/zinit/issues/257 )
* trigger for PR labeler GH action workflow ([#237 ](https://github.com/zdharma-continuum/zinit/issues/237 )) ([49af866 ](49af86688b ))
* typo & triggers in documentation workflow ([#308 ](https://github.com/zdharma-continuum/zinit/issues/308 )) ([161d7c1 ](161d7c1ee1 ))
* unmatched "(" in windows gh-r patterns ([#280 ](https://github.com/zdharma-continuum/zinit/issues/280 )) ([1f4ba5a ](1f4ba5ae0c ))
* update `zdharma` to `zdharma-continuum` ([66b1700 ](66b1700752 ))
* update docs for new jq-check ([6207427 ](6207427256 ))
* use [*] inside arbitrary strings. ([73a8c92 ](73a8c92d43 ))
* workflow pkg mgmt due to base OS changes ([195f72d ](195f72d54b ))
* ziextract execs discovery regex ([#410 ](https://github.com/zdharma-continuum/zinit/issues/410 )) ([105b38a ](105b38a195 ))
* zunit install in GH workflow ([#412 ](https://github.com/zdharma-continuum/zinit/issues/412 )) ([f4787dc ](f4787dcac8 ))
### Features
* ability to set program for `zinit ls` to use ([#221 ](https://github.com/zdharma-continuum/zinit/issues/221 )) ([bad7af3 ](bad7af3ae2 )), closes [#170 ](https://github.com/zdharma-continuum/zinit/issues/170 )
* add `-a` (actual time) to `zinit times` cmd ([#223 ](https://github.com/zdharma-continuum/zinit/issues/223 )) ([450d3c1 ](450d3c10a8 ))
* add `krew` and `prebuilt-ripgrep` gh-r zunit tests ([#267 ](https://github.com/zdharma-continuum/zinit/issues/267 )) ([f25b4ae ](f25b4ae2b9 ))
* add compile vim from source zunit test ([#232 ](https://github.com/zdharma-continuum/zinit/issues/232 )) ([126528c ](126528ccd5 ))
* add configure"" ice ([#334 ](https://github.com/zdharma-continuum/zinit/issues/334 )) ([40a46c6 ](40a46c6d22 ))
* add GH action to remove old workflow logs ([#248 ](https://github.com/zdharma-continuum/zinit/issues/248 )) ([6647bdc ](6647bdc31c ))
* add PR labeler to show what parts of Zinit are changed ([#211 ](https://github.com/zdharma-continuum/zinit/issues/211 )) ([42e83d7 ](42e83d7f99 ))
* add releases via semantic-release ([73542b4 ](73542b4909 ))
* add releases via semantic-release ([#415 ](https://github.com/zdharma-continuum/zinit/issues/415 )) ([cfa2f0e ](cfa2f0ebcd ))
* expand linted file types to markdown and shell ([96fe03f ](96fe03f85b ))
* **git-process-output:** simplify progress-bar ([#204 ](https://github.com/zdharma-continuum/zinit/issues/204 )) ([c888917 ](c888917edb ))
* update output messaging to be more informative ([047320a ](047320a923 ))
2022-11-07 02:41:04 +00:00
Vladislav Doster
73542b4909
feat: add releases via semantic-release
...
- release workflow
- semantic-release configuration file
- new CHANGELOG.md
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-11-06 20:38:44 -06:00
vladislav doster
cfa2f0ebcd
feat: add releases via semantic-release ( #415 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-11-06 15:53:14 -06:00
vladislav doster
529aa20f42
fix: rm linux32 assets in aarch64/arm64 gh-r regex ( #414 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-11-06 10:28:23 -06:00
vladislav doster
fcd2aa6791
style: update ziextract log messages prefix ( #411 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-11-05 04:41:13 -05:00
vladislav doster
f4787dcac8
fix: zunit install in GH workflow ( #412 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-11-05 04:39:04 -05:00
vladislav doster
105b38a195
fix: ziextract execs discovery regex ( #410 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-11-05 02:51:23 -05:00
Sebastian Gniazdowski
9987d5c781
fix: names of ctag Make target deps ( #407 )
2022-11-01 05:59:31 -05:00
vladislav doster
1d9e05fb1e
Merge pull request #405 from zdharma-continuum/fix/gh-r_jq-linux64
...
fix: gh-r removes linux32 assets on 64 bit OS
2022-10-30 23:16:02 -05:00
Vladislav Doster
1864c0be09
fix: gh-r removes linux32 assets on 64 bit OS
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-10-30 22:53:58 -05:00
vladislav doster
fad444b55b
Merge pull request #380 from zdharma-continuum/fix/unit-tests
...
fix: zunit tests & documentation
2022-10-30 10:00:36 -05:00
Vladislav Doster
c93a3ce431
maint: regenerate docs
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-10-30 07:59:03 -05:00
Vladislav Doster
62c07b7326
style: fix fold markers, typos, and comments
...
- Fix function typos in asciidoc comments
- Fix asciidoc fold markers
- Fix function args typos/style in asciidoc comments
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-10-30 07:58:58 -05:00
Vladislav Doster
bc56e757db
maint: disable container & installer workflows
...
Temporarily disable container and installer workflows so CI checks pass.
Fixes for both are a WIP and will be in a seperate PR that also
re-enables the workflows.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-10-30 07:58:52 -05:00
Vladislav Doster
1d4d38b853
maint: make single-line.zsh a zinit-install func
...
Move code in `share/single-line.zsh` into function within
`zinit-install.zsh`.
Additionally, allows for code to be compiled.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-10-30 07:58:48 -05:00
Vladislav Doster
10eb3c2c56
maint: regenerate docs w/ zinit-additional.zsh
...
Documentation now includes code in `zinit-additional.zsh`
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-10-30 07:58:44 -05:00
Vladislav Doster
4602c81d01
maint: sort, update, and add Make targets
...
- Add 'container' target to build local docker image
- Add 'zinit-additional' to be included in zcompile & doc generation
- Build local zinit image before `doc/container`
- Sort targets alphabetically
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-10-30 07:58:38 -05:00
Vladislav Doster
195f72d54b
fix: workflow pkg mgmt due to base OS changes
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-10-30 07:58:36 -05:00
Vladislav Doster
dd12fce3f4
fix: gh-r & plugin zunit tests
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-10-30 07:58:32 -05:00
Vladislav Doster
8a75a56ce5
style: format README.md to linter standards
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-10-30 07:58:03 -05:00
Sebastian Gniazdowski
3885919788
maint: update copy of zinit.1 in $ZPFX/man/ if out-of-date ( #382 )
2022-10-29 18:25:43 -05:00
Jan Katins
0e55b2ea67
fix: Do not try to escape exclamation marks ( #399 )
2022-10-29 11:16:36 -05:00
vladislav doster
be1533552a
maint: re-format _zinit ( #392 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-10-05 10:11:54 -05:00
vladislav doster
49926e075a
maint: consistent vim mode lines across all files ( #393 )
2022-10-05 09:59:15 -05:00
Sebastian Gniazdowski
7f6dc7da6c
fix: change ctags symbols browser key binding from ctrl-k to alt-Q ( #387 )
...
The key is already bound to push-line, however the zle widget
has also two other keys, ctrl-q and Alt-q, so no problem, as
IMO users who want that widget already use Alt-q, not Alt-Q.
Closes #386
2022-10-03 05:09:54 -05:00
Aaron Lichtman
65331c222d
Merge pull request #384 from zdharma-continuum/revert-378-vars
2022-09-29 15:10:26 -05:00
Aaron Lichtman
952f683753
Revert "Add a few global aliases and vars like ZIBIN, ZIPLUGS and others."
2022-09-29 13:09:54 -07:00
Aaron Lichtman
5be3b2a72e
Merge pull request #350 from psprint/zinit.1-manual
2022-09-28 06:50:50 -05:00
Aaron Lichtman
37cd36e418
Merge pull request #378 from psprint/vars
2022-09-28 06:48:31 -05:00
Sebastian Gniazdowski
9168d6c183
Add a few global aliases and vars like ZIBIN, ZIPLUGS and others.
...
The user can use them in 3 ways:
$ cd ZIBIN
$ cd $ZIBIN
$ cd ~ZIBIN
$ cd ZPFX
2022-09-28 10:01:05 +00:59
Sebastian Gniazdowski
061a85c4ff
Add support for multiple (cmake, scons, meson) build systems to the configure'' ice. ( #351 )
2022-09-27 19:54:11 -05:00
Sebastian Gniazdowski
2e783f02e2
Make variables created with param'name → value' be exported. Also ( #376 )
2022-09-27 19:51:53 -05:00
Sebastian Gniazdowski
17fd453dc1
A zsh language definition for Ctags wrapped in tags Make target ( #332 )
2022-09-19 04:42:20 -05:00
Yuta Katayama
4a2a120b34
fix: gh-r retrieves release data GH REST API ( #373 )
...
Recent changes to GitHub HTML structure broke `gh-r` & `bpick` ices method of parsing project release assets.
- `gh-r` utilizes official GitHub REST API to retrieve project releases data
- add `local` scope to `releases_url` variable
# closes #374
Co-authored-by: Tyler Wardhaugh <tyler.wardhaugh@gmail.com>
2022-09-18 01:51:03 -05:00
Philipp Schmitt
8ed4e96dea
Merge pull request #372 from akliuxingyuan/main
...
use grep instead of the deprecated egrep
2022-09-12 18:59:52 +02:00
akliuxingyuan
1b90ad382b
use grep instead of the deprecated egrep
2022-09-12 13:53:22 +08:00
vladislav doster
bf2a411ec6
Merge pull request #369 from zdharma-continuum/fix/lnav-test
...
fix: remove macOS 11 from test matrix
2022-09-05 21:51:04 -05:00
Vladislav Doster
c61319378d
fix: remove macOS 10.5 & 11 from test matrix
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-09-05 20:50:47 -05:00
vladislav doster
bc7495c65e
Merge pull request #368 from zdharma-continuum/fix/osx-ghr-pattern
2022-09-05 18:36:39 -05:00
Vladislav Doster
a5b05ae9ea
(fix): add os-x to darwin gh-r pattern
...
- add `os-x` to darwin gh-r pattern
- add zunit test for tstack/lnav
Closes #367
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-09-03 06:53:50 -05:00
Jan Katins
c3d1bb586c
fix: allow zinit to be run from non-interactive scripts ( #227 )
...
* maint: Ignore .idea folder
Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
* fix: Don't escape exclamation marks in hook keys
Exclamation marks (per default) get escaped in interactive mode,
but not in non-interactive modes. In this case it meant that zinit
would not find any hooks which implements the ices when running in
non-interactive mode (e.g. in a script). This in turn would NOT result
in errors but would just silently not execute any of the ices which
of course would be a bad thing(tm).
https://github.com/zdharma-continuum/zinit/issues/199 has the details...
Closes : #199
* fix: Ignore errors if cp cannot copy .zwc files
This would otherwise bubble up as a hook failure and further up as a zinit call failure
* fix: Add pick ice now that the compile hook is run
After the fix, the compile hook is now run and would fail without this information. IN addition, only files starting with _ are linked into the completion folder.
* fix: Fix docker-buildx gh-r test now that atclone ice is run
* maint: Add basic tests for cp/mv/atclone/make ices
zunit runs tests non-interactively and these tests fail without the fix in this branch.
Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
2022-08-06 02:35:58 -04:00
vladislav doster
ba2eb6807d
Merge pull request #360 from zdharma-continuum/maint/stale-labeler-bot
...
(maint): add config for stale labeler bot
2022-08-04 04:17:33 -05:00
vladislav doster
5fffd4f6b0
(maint): add config for stale labeler bot
2022-08-04 04:12:01 -05:00
vladislav doster
c6e7acd86d
maint: refactor duplicate test logic into function ( #357 )
2022-07-25 18:01:25 -05:00
vladislav doster
56fb9e0b1d
fix: calico gh-r zunit test ( #356 )
...
- test using the `--help` flag instead of the `version` command
2022-07-25 05:56:59 -05:00
vladislav doster
f729e065db
fix: broken yaml syntax in issue template ( #355 )
2022-07-24 20:42:15 -05:00
vladislav doster
95baba0a95
maint: improve OS info and add CoC agreement in issue template ( #353 )
2022-07-24 20:30:30 -05:00
Sebastian Gniazdowski
cc724a4336
Copy zinit.1 to man1 directory
2022-07-19 21:05:40 +02:00
vladislav doster
35a28668f9
docs: updates for the new configure"" ice ( #346 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-07-17 22:36:47 -05:00
vladislav doster
3153146cdc
docs: format README.md ( #347 )
...
- Fixes failing markdown linting test
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-07-17 22:03:21 -05:00
Sebastian Gniazdowski
40a46c6d22
feat: add configure"" ice ( #334 )
...
### configure ice
The new `configure''` ice is a facade for the following code.
```zsh
atclone'./configure --prefix=$PWD'
atpull'%atclone'
```
### Example:
Without the `configure` ice:
```zsh
zi for \
as'null' \
atclone'autoreconf -iv && ./configure --prefix=$PWD' \
atpull'%atclone' \
lbin'!**/stow' \
make'PREFIX=$PWD install' \
nocompile \
@aspiers/stow
```
With the `configure` ice:
```zsh
zi for \
as'null' \
configure'#' \
lbin'!**/stow' \
make'PREFIX=$PWD install' \
nocompile \
@aspiers/stow
```
Additionally, passing `#` as the ice value will look for and run `autogen.sh` prior to running `./configure`.
2022-07-16 22:56:25 -05:00
vladislav doster
35d9a7da2c
Merge pull request #343 from zdharma-continuum/docs/add-codeowners-file
...
maint: add CODEOWNERS file for code owners feature
2022-07-15 17:13:02 -05:00
Vladislav Doster
4194b4e34a
maint: add CODEOWNERS file for code owners feature
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-07-15 22:08:30 +00:00
Christian Höltje
37a592fccc
maint: add multiple 'EOL' & 'diff' rules to .gitattributes ( #336 )
...
Signed-off-by: Christian Höltje <christian.holtje@boxcast.com>
2022-07-09 03:34:21 -05:00
Christian Höltje
a4dc13f66a
fix: filter by runtime detected CPU before compiled CPU ( #304 )
...
Closes #287
Signed-off-by: Christian Höltje <docwhat@gerf.org>
2022-07-05 18:54:00 -05:00
vladislav doster
f5b59449ff
style: format zinit-side.zsh to zinit convention ( #327 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-07-05 18:49:08 -05:00
vladislav doster
2450161d45
docs: update zinit-install.zsh.adoc ( #329 )
...
Documentation for #328
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-07-05 18:48:04 -05:00
Sebastian Gniazdowski
68f8f1d3cb
maint: run extract'' before the atclone'', atpull'', mv'', and cp'' ices ( #328 )
...
# Evaluating the `extract' '` earlier solves multiple issues:
## 1.
```bash
atclone'./configure --prefix=$PWD'
```
## 2.
The `mv' '` ice is ran after archive extraction, so
```bash
mv''
```
ice is running sense as the extension is not required for unpacking, so one can
utilize mv'' ice for something after the unpacking, not before to rename
'tmux->tmux.tgz' or similar.
## 3.
The `gh-r''` and `pack''` ices default ziextract calling in gh-r and pack'' obey
the exclamation marks from extract'!…' to allow deciding whether `move` or
`move2` mode should be enabled (i.e., move extracted archive up 1 or 2 levels
up).
## Tested against Tmux:
```bash
zi for \
as'null' \
atclone'./configure --disable-utf8proc --prefix=$PWD' \
atpull'%atclone' \
extract'!' \
from'gh-r' \
id-as'tmux' \
sbin \
make'-j 4 install' \
ver'latest' \
@tmux/tmux
```
2022-07-05 18:37:10 -05:00
vladislav doster
1e49316210
maint: update license ( #326 )
...
- update copyright
2022-07-04 03:43:28 -05:00
vladislav doster
c3529c8270
style: format single-line.zsh to zinit convention ( #325 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-07-04 02:29:25 -05:00
vladislav doster
99a41e36a6
maint: delete PR template in favor of org wide copy ( #324 )
...
This PR template was used before [zdharma-continuum/.github](https://github.com/zdharma-continuum/.github ) existed.
Deleting in favor of having a single source of truth.
2022-07-02 04:30:58 -05:00
vladislav doster
1d7d32166f
style: re-format rpm2cpio.zsh to zinit convention ( #319 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-07-01 04:14:03 -05:00
vladislav doster
5f8b2706cb
style: re-format git-process-output.zsh to zinit convention ( #318 )
...
See #238
2022-07-01 04:03:28 -05:00
vladislav doster
9404d2a232
docs: update info for .zinit-formatter-auto ( #314 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-06-20 00:16:44 -05:00
Sebastian Gniazdowski
f6e1d03e43
maint: extend auto formatter to support plugin ids, numbers, times, and ice values( #311 )
...
- It makes `a/b` strings be recognized as plugin ids (plus the previous way of
recognition via a test to the disk, for single-word id-as plugins).
- Correctly handle ices with values and spaces (i.e., `sbin'* -> foo'`)
- OhMyZsh short-hands (i.e., `OMZP::` or `OMZL`) are recognized as plugin ids.
- It colorizes numbers with `{num}` and time notions (e.g., `3s`) with a new
code `{time} (color 220 – gold)`
2022-06-16 12:08:24 -05:00
vladislav doster
161d7c1ee1
fix: typo & triggers in documentation workflow ( #308 )
...
- correct typo (e.g., branchs -> branches)
- add `main` branch to pull request trigger
2022-06-11 06:45:54 -05:00
vladislav doster
4546669f77
refactor: self-update logic & log styling ( #307 )
...
* refactor: self-update logging
* use git branch logic compatible with older git versions (e.g., v1.8.x)
* maint: consistent logging colors
* fix: add a new line in`update` command logging
* docs: re-generate zinit-autoload.zsh asciidoc
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-06-10 22:10:50 -05:00
vladislav doster
fb3c082551
fix: alist repository for gh-r test ( #305 )
...
- `alist` project ownership was transferred from user`Xhofe` to organization`alist-org`
2022-06-08 13:54:25 -05:00
vladislav doster
b0412c02bb
docs: updates for "zinit-formatter-dbg" code ( #302 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-06-03 23:24:10 -05:00
Sebastian Gniazdowski
6bbe920330
[feat]: add {dbg} formatter to .zinit-message ( #286 )
...
Co-authored-by: vladislav doster <mvdoster@gmail.com>
2022-06-03 23:17:18 -05:00
vladislav doster
591b332d8e
docs: updates for "zinit-formatter-auto" code ( #301 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-06-03 20:42:49 -05:00
vladislav doster
2b70a01cf0
Merge pull request #290 from psprint/auto-formatter
...
feat: automatic log formatting function
2022-06-03 20:23:30 -05:00
vladislav doster
308c9d4cd8
fix: remove curl option "--tcp-fastopen" which is not always available ( #299 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-06-03 20:20:36 -05:00
vladislav doster
7cbb680a30
Merge branch 'main' into auto-formatter
2022-06-01 09:28:27 -05:00
Sebastian Gniazdowski
9b86424521
A new {auto}, smart formatter
2022-05-30 17:09:55 +02:00
Sebastian Gniazdowski
bcedc9ff94
Propagate -o xtrace when needed and prepend builtin to emulate ( #293 )
2022-05-29 12:47:27 -05:00
vladislav doster
eb19b5bafc
maint: update ISSUE_TEMPLATE/bug-report.yml
...
- add commands to run to get relevant information
- clean up wording, formatting and punctuation
2022-05-29 00:12:12 -05:00
Aaron Lichtman
ff7fd49760
Merge pull request #288 from tony/patch-1
2022-05-27 20:04:31 -05:00
Tony Narlock
87da39ec15
docs(README): Fix migration link
2022-05-24 17:35:12 -05:00
vladislav doster
1f4ba5ae0c
fix: unmatched "(" in windows gh-r patterns ( #280 )
...
Signed-off-by: Vladislav Doster <vladislav.doster@Mastercard.com>
Co-authored-by: Vladislav Doster <vladislav.doster@Mastercard.com>
2022-05-22 22:33:12 -05:00
vladislav doster
f8d8999809
maint: remove "pokeget" test due to repo deletion ( #281 )
...
Signed-off-by: Vladislav Doster <vladislav.doster@Mastercard.com>
2022-05-22 22:11:27 -05:00
vladislav doster
07cde66008
fix: docs workflow should fail if out-of-date ( #278 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-21 23:04:56 -05:00
vladislav doster
8620574a55
fix: account for systems where musl is present ( #269 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-18 14:36:23 -05:00
vladislav doster
92a235654a
style: format CODE_OF_CONDUCT to fix failing test ( #275 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-14 07:59:27 -05:00
vladislav doster
0825607f63
docs: create a code of conduct for contributors ( #273 )
...
- Recommended for projects of all sizes
- Update labeler configuration to mark changes to markdown files in
repository root directory as `docs`
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-14 07:34:17 -05:00
vladislav doster
4d4cb13fa8
maint: expand systems (macos-{12,10.15} & ubuntu-{22.04,18.04} that run unit tests ( #268 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-12 01:19:09 -05:00
vladislav doster
f25b4ae2b9
feat: add krew and prebuilt-ripgrep gh-r zunit tests ( #267 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-10 21:16:09 -05:00
vladislav doster
c703290fc2
maint: add got binary to gh-r tests ( #266 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-10 10:50:33 -05:00
vladislav doster
26070d6992
maint: remove --tap flag from zunit tests
2022-05-09 20:55:22 -05:00
vladislav doster
7dae300326
maint: add hoofli, joincap, etcd, euterpe, and certificates gh-r tests ( #263 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-09 20:50:31 -05:00
vladislav doster
96135bc5e5
maint: use zdharma-continuum zunit repository ( #264 )
2022-05-09 20:49:10 -05:00
vladislav doster
2cdeef387a
maint: modify linux-(gnu|musl) patterns ( #260 )
...
* maint: modify linux-(gnu|musl) patterns
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-09 14:06:54 -05:00
vladislav doster
b617e54262
maint: add warp & moonwalk tests && add misc. descriptions ( #261 )
...
- Add tests for `moonwalk`, `helix`, `wtf`, `alist`, `moonwalk`, and `warp`
- Add descriptions for multiple programs
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-09 14:04:53 -05:00
vladislav doster
b74f627ffa
maint: improve gh actions trigger for zshelldocs ( #262 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-09 14:04:09 -05:00
Yusei Ueno
05559ebdbc
fix: syntax error when checking for realpath command ( #259 )
...
Closes #257
2022-05-08 20:40:20 -05:00
Tommy Wang
b6f286b2c7
Add a new ice named "link", enabling local snippets to be symlinked instead of copied into the cache. ( #234 )
...
* Add link ice for local-only snippets that uses symlink instead of copying
* update docs
* fix README for link ice
* fix unit tests for link ice
- account for the host not having `realpath` >= 8.23 (the symlink will be
an absolute path instead of a relative path)
2022-05-07 18:06:46 -05:00
vladislav doster
4a9f9df022
maint: fix macos pattern, add new tests and format ( #250 )
...
- darwin gh-r pattern now includes the `.dmg` extension
- `gh-r` tests for bit, gron, pulumi, atmos, keepassxc, alacrity, assh,
and dog
- clean up duplicate code with formatting and moving duplicate logic to
the default ice, if possible
See #243 #245 #247
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>():
2022-05-06 08:40:31 -05:00
dependabot[bot]
692a98b180
build(deps): bump docker/setup-qemu-action from 1 to 2 ( #252 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 07:26:29 -05:00
dependabot[bot]
de86c20a10
build(deps): bump docker/setup-buildx-action from 1 to 2 ( #253 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 07:26:22 -05:00
dependabot[bot]
256d90e4bb
build(deps): bump docker/login-action from 1 to 2 ( #254 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 07:26:00 -05:00
dependabot[bot]
580c1e8233
build(deps): bump docker/build-push-action from 2 to 3 ( #251 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 07:25:45 -05:00
vladislav doster
d60638f221
fix: gh-r logic ignores [36]86 assets ( #235 )
...
Changes:
- Reduce zunit verbosity with `--tap` flag
- `gh-r` tests now use `lbin` instead of `sbin`. `lbin` has smarter
logic when looking for executables to use in creating a shim
- Add gh-r tests for `rust-analyzer`, `docker-compose`, `neovim` binary &
appimage, and `kopia`
- Condense gh-r test logic to halve LOC (i.e., 1000+ -> ~500)
- Update gh-r logic to discard 32 bit binaries, improve 64 bit
selection, and linux-{gnu,musl} patterns
Closes #225 , #246 , #247
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-05 21:58:38 -05:00
vladislav doster
5c70f5a4a7
maint: improve scope of docs workflow triggers ( #249 )
2022-05-05 13:37:52 -05:00
vladislav doster
6647bdc31c
feat: add GH action to remove old workflow logs ( #248 )
2022-05-05 05:21:16 -05:00
vladislav doster
693498484a
maint: use --tap flag to reduce zunit test output ( #246 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-04 23:36:39 -05:00
vladislav doster
596d2e7346
maint: refactor snippets.zunit & add multiple tests ( #242 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-02 07:26:03 -05:00
vladislav doster
6ef84398b2
fix: modify regex in gh-r for assets to not consider for selection ( #244 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-05-02 06:37:43 -05:00
Philipp Schmitt
4c5854b1cd
Merge pull request #241 from jankatins/fix_plugins_dir_setup
...
fix: Don't error if $OPTS is not yet defined in .zinit-compinit call
2022-05-02 08:23:55 +02:00
Jan Katins
44765e0bcb
fix: Don't error if $OPTS is not yet defined in .zinit-compinit call
...
This codepath was triggered when deleting the whole `~/.zinit/plugins` dir: during recreation in `.zinit-prepare-home`, `.zinit-compinit &> /dev/null` would be called and the sourcing of `zinit.zsh` would error out with
```
+.zinit-compinit:2> [[.zinit-compinit:2: bad math expression: operand expected at `/Users/jan...'
-n '' ]]
```
As the error was redirected to `/dev/null`, this never showed up. Any zinit install call during that session would not run any hooks as they were not yet registered. The next session would then be fine because the plugins dir would exist.
2022-05-01 22:41:48 +02:00
vladislav doster
49af86688b
fix: trigger for PR labeler GH action workflow ( #237 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-29 02:25:55 -05:00
vladislav doster
8a0d5678d1
fix: permissions for PR labeler GH action workflow ( #236 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-29 02:11:14 -05:00
vladislav doster
08c705381e
maint: gh-r tests for atuin, compress, gosu, and v ( #233 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-28 08:31:57 -05:00
vladislav doster
5b734115dc
maint: update Makefile targets ( #224 )
...
- add `zwc` target to compile zinit source to `.zwc`
- add zsh path variable
- add 'test' target to easily run zunit tests
- clean target cleans `.zwc` and more explicit for `.adoc`
- remove `scripts/zcompile` script
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-28 03:59:47 -05:00
vladislav doster
126528ccd5
feat: add compile vim from source zunit test ( #232 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-27 19:18:06 -05:00
vladislav doster
630f21f167
docs: remove git.io URL use from install command ( #230 )
...
Closes #229
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-26 15:19:20 -05:00
vladislav doster
57f0d82118
fix: gh-r filters i686 (32 bit) for x86_64 ( #226 )
...
* fix: gh-r filters i686 (32 bit) for x86_64
Closes #225
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-26 14:40:09 -05:00
vladislav doster
450d3c10a8
feat: add -a (actual time) to zinit times cmd ( #223 )
...
- Display load moments to `zinit times` via new `-a` flag.
I found it useful to show both plugin load times, as well as load moments:
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-25 01:36:25 -05:00
vladislav doster
bad7af3ae2
feat: ability to set program for zinit ls to use ( #221 )
...
A user can now specify a program via the `$ZINIT[LIST_COMMAND]`
variable. Additionally, it will first check for `exa` and fallback to
tree if this variable is not set.
e.g., use exa or any `tree`-esque program in `zinit ls`.
Closes #170
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-25 01:00:47 -05:00
vladislav doster
421855b933
maint: add hadolint (dockerfile linter) gh-r zunit test ( #222 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-25 00:25:02 -05:00
vladislav doster
d0e7f9d204
doc: improve zsd gen, pdf output, and gh workflow ( #220 )
...
- Fix to re-enable users to generate zshelldoc documentation without
docker.
- Update most asciidoctor blocks in Zinit source code to fix issue where
they would take up a line above the next function name
- Remove unnecessary steps from the documentation Github action workflow
- Misc. Makefile changes in clean and doc targets logic
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-24 20:42:44 -05:00
vladislav doster
af4dcd5950
maint: update issue templates to organize new issues ( #219 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-24 07:16:11 -05:00
vladislav doster
fa269b4312
docs: update README.md install command to use bash to avoid error ( #218 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-24 06:25:34 -05:00
vladislav doster
d59f15067e
refactor: zunit tests & gh-r logic ( #201 )
...
- Ability to run unit tests without Docker
- Define a Z-unit \_support/bootstrap script defining the isolated test
environment in a temp dir via `mktemp -d`, to ensure a clean test
environment.
- GH actions workflow now tests macOS & Windows and bumps Ubuntu to the
latest.
- GH actions workflow leverages Homebrew to simplify installing zsh &
zunit
- Condense Z-unit GH workflow into more organized build matrix. It
avoids creating a new environment per test file as some test files
only have one or two tests.
- Change or remove logic in the `setup` and `teardown` functions to
commands which apply to type of tests being run (e.g., `gh-r` setup
sets defualt ice `gh-r` and `nocompile`).
- Expand tests for testing `gh-r` on Linux & macOS for ensuring correct
release selection.
- Correct GH workflow `on` conditions to avoid duplicating jobs.
- Update `gh-r` ice logic to be smarter about selecting a release for
the current system.
- Expand linting to include the tools `shfmt`, `shellcheck`, and
`mdformat`
- Rudimentary testing for all Zinit annexes (e.g., install with no
errors)
| Test | Before | Now |
| :------: | :----: | :-: |
| annexes | 3 | 10 |
| gh-r | 3 | 95 |
| plugins | 2 | 3 |
| snippets | 4 | 4 |
<img width="841" alt="Screen Shot 2022-04-23 at 21 57 08" src="https://user-images.githubusercontent.com/10052309/164954220-123a8dc5-0399-41e3-b9cf-98b2cf599145.png ">
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-24 05:24:10 -05:00
Aaron Lichtman
537e895c1d
Merge pull request #173 from zdharma-continuum/bugfix/self-update-can-use-any-branch
2022-04-17 19:19:10 -06:00
vladislav doster
0fac4338f4
Merge pull request #215 from zdharma-continuum/feat/expand-linted-file-types
...
feat: expand linted file types to markdown and shell
2022-04-17 17:38:34 -05:00
Vladislav Doster
96fe03f85b
feat: expand linted file types to markdown and shell
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-17 17:26:08 -05:00
Vladislav Doster
eab948cdd0
maint: make logging style/colors consistent
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-12 13:12:58 -05:00
Vladislav Doster
047320a923
feat: update output messaging to be more informative
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-11 18:27:09 -05:00
vladislav doster
704f4beca0
Merge pull request #213 from zdharma-continuum/dependabot/github_actions/actions/upload-artifact-3
...
Bump actions/upload-artifact from 2 to 3
2022-04-11 09:30:28 -05:00
dependabot[bot]
8440defb78
Bump actions/upload-artifact from 2 to 3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 13:37:54 +00:00
Vladislav Doster
23c47e1973
bugfix: zinit self-update respects the current branch
...
Fix bug in Zinit `self-update` command that used the `main` branch
instead of using current branch.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-11 04:57:18 -05:00
vladislav doster
3a7dc95f02
fix: rename docs to doc to match doc dir ( #212 )
2022-04-10 22:45:02 -05:00
vladislav doster
42e83d7f99
feat: add PR labeler to show what parts of Zinit are changed ( #211 )
...
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-04-10 22:37:58 -05:00
vladislav doster
c888917edb
feat(git-process-output): simplify progress-bar ( #204 )
...
- use a single style for the progress bar style
- simplify logic
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-03-27 20:20:27 -05:00
vladislav doster
165a05b4f8
Merge pull request #205 from zdharma-continuum/fix/update-docs-with-jq-check
...
fix: update docs for new jq-check
2022-03-26 22:29:02 -05:00
Vladislav Doster
6207427256
fix: update docs for new jq-check
...
- regenerate docs for `zinit-install`
Missed in the [initial PR](https://github.com/zdharma-continuum/zinit/pull/202 )
due to a bug and overlooked in
[bugfix PR](https://github.com/zdharma-continuum/zinit/pull/203 )
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-03-26 22:19:49 -05:00
Aaron Lichtman
19ae78f3f4
Merge pull request #203 from dusty-phillips/patch-1
2022-03-22 09:41:43 -06:00
Dusty Phillips
6f039dfaee
Fix zinit-jq-check command in zinit-get-package
...
This is failing for lack of a `.`.
2022-03-22 10:01:58 -03:00
Philipp Schmitt
b5c6b51b87
Merge pull request #202 from zdharma-continuum/maint/check-for-jq-in-zinit-get-package
...
maint: check for `jq` command in `.zinit-get-package`
2022-03-21 08:37:43 +01:00
Vladislav Doster
ce6ba3551d
maint: check for jq command in .zinit-get-package
...
Error loudly instead of silently exiting when erroring due to `jq`
absent.
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-03-21 00:22:48 -05:00
Aaron Lichtman
26109d474e
Merge pull request #200 from pschmitt/make-docs-docker
2022-03-20 22:34:47 -06:00
Philipp Schmitt
e47a11dbb2
Fix workdir
2022-03-18 23:24:43 +01:00
Philipp Schmitt
78c898ea77
Remove the RC dance. GH runners will exit early on their own.
2022-03-18 08:19:02 +01:00
Philipp Schmitt
b29b4fb657
Add missing make doc step
2022-03-17 23:05:30 +01:00
Philipp Schmitt
8f03e147a9
Update doc generation docs
2022-03-17 23:04:14 +01:00
Philipp Schmitt
8e81b90335
Use container for generating docs
2022-03-17 22:55:04 +01:00
Philipp Schmitt
bc1bedb590
Merge pull request #191 from zdharma-continuum/dependabot/github_actions/actions/checkout-3
...
Bump actions/checkout from 2 to 3
2022-03-02 17:35:34 +01:00
dependabot[bot]
eb9ca00bde
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 12:26:37 +00:00
Aaron Lichtman
d1cb4e2b47
Merge pull request #187 from zdharma-continuum/optimize-zshdoc-ci
2022-02-22 16:20:03 -07:00
Aaron Lichtman
b0c07a8a07
[CI] Only run git diff once
...
We can return the exit code from the same command we print the diff
from.
2022-02-22 16:02:42 -07:00
Aaron Lichtman
8387dc95a2
Merge pull request #186 from zdharma-continuum/doc-update
2022-02-22 16:00:32 -07:00
Aaron Lichtman
5f6c4f37fb
[CI] Only run git diff once
...
We can return the exit code from the same command we print the diff
from.
2022-02-22 15:54:23 -07:00
Aaron Lichtman
8860ece124
zinit zshelldoc update
...
We have a bunch of PRs that contain this large doc update, obscuring the
actual changes that are being made. This is a one-time, large-scale doc
update. Not sure how things got this out of sync, but we should not have
to do this again.
2022-02-22 15:19:58 -07:00
Philipp Schmitt
1c7b985438
Merge pull request #184 from NICHOLAS85/localretval
...
*autoload: Make retval a local variable
2022-02-21 12:34:14 +01:00
NICHOLAS85
062b9a1c38
Update docs
2022-02-20 16:14:50 -05:00
NICHOLAS85
c078593c3a
*autoload: Make retval a local variable
2022-02-20 15:49:40 -05:00
Philipp Schmitt
de49ebffe8
Merge pull request #177 from nbrown/git-log-no-paging
2022-02-06 20:42:45 +01:00
Nate Brown
b0a09d01b0
Don't page git log for updates
2022-02-06 13:17:58 -05:00
Aaron Lichtman
cda2a85d20
Merge pull request #166 from Gerrit-K/feature-165
2022-02-02 22:11:36 -07:00
Gerrit-K
ae6807458d
Add support for *.tbz files
...
Apparently bzipped archives are already supported. The file extension `tbz` is just not recognized.
Implements #165
2022-01-17 08:38:14 +01:00
Aaron Lichtman
cbf427d464
Merge pull request #161 from AndrewDaws/revert-158-bugfix/bpick-regex-groups
2022-01-16 16:41:33 -06:00
Philipp Schmitt
d9ab6775b5
Merge pull request #159 from zdharma-continuum/bugfix/incorrect-patch-dl-not-found-when-installed
2022-01-13 08:47:30 +01:00
vladislav doster
4b11a8d421
(bugfix): fix false error msg zinit-annex-patch-dl is unavailable
2022-01-12 20:25:40 -06:00
Andrew Daws
9154a1aaad
Revert "(bugfix): update bpick regex groups"
2022-01-11 16:29:09 -05:00
vladislav doster
4da69625bc
Merge pull request #158 from vladdoster/bugfix/bpick-regex-groups
2022-01-07 02:31:07 -06:00
vladislav doster
243256558a
(bugfix): update bpick regex groups
...
- correctly select `musl`
- correctly select `macOS`
A follow-up PR will add an update to select ARM & `macOS`.
2022-01-07 02:26:31 -06:00
vladislav doster
98d3eaa8be
Merge pull request #143 from nbrown/handle-broken-comp-links
...
More robust handling of symlinks in the completions folder
2021-12-27 02:27:08 -06:00
Nate Brown
2e17f7c723
Handle relative non-plugin symlinks
...
If a symlink is relative and does not resolve to a plugin directory, the
loop attempting to extract the plugin ID will get stuck in an infinite
loop. This addresses that issue by catching when :h returns ".".
2021-12-20 21:54:31 -05:00
Nate Brown
6de077f229
Check that the symlink resolves to a real file
...
If a symlink in the completions folder doesn't resolve properly, the loop
processing the path can become an infinite loop.
2021-12-20 11:09:22 -05:00
Philipp Schmitt
9ee45d6804
Merge pull request #130 from zdharma-continuum/polish-comments
2021-12-06 15:15:48 +01:00
Aaron Lichtman
638d9b5f88
Update zinit.zsh
...
Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
2021-12-06 06:34:44 -06:00
Aaron Lichtman
8f66657e51
Update zinit.zsh
...
Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
2021-12-06 06:34:37 -06:00
Aaron Lichtman
69fa943651
Update zinit.zsh
...
Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
2021-12-06 06:34:32 -06:00
Aaron Lichtman
7c28d37590
Update zinit.zsh
...
Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
2021-12-06 06:34:26 -06:00
Aaron Lichtman
55596cd39c
Update zinit.zsh
...
Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
2021-12-06 06:32:22 -06:00
Aaron Lichtman
c1850630df
Update zinit.zsh
...
Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
2021-12-06 06:32:14 -06:00
Aaron Lichtman
46f6cb29a0
Update zinit.zsh
...
Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
2021-12-06 06:32:09 -06:00
Aaron Lichtman
7bee5ecf33
Translate Polish comments to english
...
Fix #80
2021-12-06 05:59:58 -06:00
Aaron Lichtman
e8058a8c8d
Merge pull request #126 from zdharma-continuum/fix-125
2021-12-02 03:28:58 -06:00
Philipp Schmitt
30f5ad474d
Add host-info input field
2021-12-02 09:55:33 +01:00
Philipp Schmitt
81153ef210
Add zcompile step
2021-12-02 09:26:49 +01:00
Philipp Schmitt
5a9a9e4d7b
Update docs
2021-12-02 09:01:19 +01:00
Philipp Schmitt
3acacc246d
Fix #125
2021-12-02 08:54:24 +01:00
Philipp Schmitt
9c73ed01a0
Merge pull request #117 from zdharma-continuum/ci-zsd
2021-12-01 09:08:54 +01:00
Philipp Schmitt
6b28299ce2
zinit-annex-as-monitor -> zinit-annex-readurl
2021-12-01 08:56:56 +01:00
Philipp Schmitt
62ff1be0f9
Fix links
2021-12-01 08:55:42 +01:00
Philipp Schmitt
1e6bdf0e9b
Merge pull request #112 from zdharma-continuum/return-hook-rc
2021-12-01 08:49:45 +01:00
Philipp Schmitt
d82c6133ae
Update wiki links
2021-12-01 08:46:15 +01:00
Aaron Lichtman
19347bad3b
Merge pull request #121 from pschmitt/update-issue-templates
2021-11-30 07:09:46 -06:00
Philipp Schmitt
72b446d335
Update issue templates
2021-11-30 13:17:57 +01:00
Philipp Schmitt
fec35cbd54
Merge pull request #120 from pickoba/fix-install
2021-11-30 12:59:44 +01:00
KOBAYASHI Ryota
4b2f053d14
fix install script
2021-11-30 18:15:06 +09:00
Philipp Schmitt
95e8f43ba9
Emojis. Everywhere.
2021-11-29 18:54:41 +01:00
Philipp Schmitt
7f456fdbd4
MORE EMOJIS 😱
2021-11-29 18:45:44 +01:00
Philipp Schmitt
fc9fe3877c
More. emojis! 🚩
2021-11-29 18:42:06 +01:00
Philipp Schmitt
005e76a7b8
🤣 Add emojis
2021-11-29 18:40:30 +01:00
Philipp Schmitt
903a612957
Don't push images for PR - just build them.
2021-11-29 18:35:00 +01:00
Philipp Schmitt
4289227ada
Remove redundant VERSION build arg
2021-11-29 18:23:06 +01:00
Philipp Schmitt
b78a3455ce
Add workflow_dispatch trigger
2021-11-29 18:06:36 +01:00
Philipp Schmitt
84f41b9713
Add comment about LC_ALL
2021-11-29 18:00:13 +01:00
Philipp Schmitt
741d653ccf
Fix unicodes chars in adoc files (LC_ALL=en_US.UTF-8)
2021-11-29 17:55:07 +01:00
Philipp Schmitt
46f4d23644
Update zsd
2021-11-29 17:44:55 +01:00
Philipp Schmitt
cf16a3530e
Give the PDF step a more meaningful name
2021-11-29 17:44:42 +01:00
Philipp Schmitt
3cd6794648
Check if zsd docs are up to date
2021-11-29 17:37:44 +01:00
Philipp Schmitt
ae57b44f65
Update zsdoc
2021-11-29 16:53:59 +01:00
Philipp Schmitt
37af5fb32f
Remove debug output
2021-11-29 16:53:39 +01:00
Philipp Schmitt
29c2f5eae8
Update CHANGELOG
2021-11-29 16:51:06 +01:00
Philipp Schmitt
4851cf29ab
Add GOPATH/bin to PATH
2021-11-29 16:43:54 +01:00
Philipp Schmitt
835548990c
Log and return != 0 when updating multiple plugins
2021-11-29 16:43:53 +01:00
Philipp Schmitt
2be9cad6dc
Fix: Make sure go-md2man is installed (it is requires for building the manpage, make will fail otherwise)
2021-11-29 16:43:53 +01:00
Philipp Schmitt
99e3d60a5a
Return 0 if there's nothing to do in the ps-on-update-hook
2021-11-29 16:43:53 +01:00
Philipp Schmitt
f7255ed3dd
Fix zinit update rc
2021-11-29 16:43:53 +01:00
Philipp Schmitt
82ad9c7119
Add atpull zunit test
2021-11-29 16:43:53 +01:00
Philipp Schmitt
9b2b338463
Forward atpull return codes
2021-11-29 16:43:52 +01:00
Philipp Schmitt
be3ab32606
Fix failing atclone test
2021-11-29 16:43:52 +01:00
Philipp Schmitt
26171369da
Return bad rcs for annex hooks
2021-11-29 16:43:52 +01:00
Philipp Schmitt
a310fa8750
Further forward non-zero RCs
2021-11-29 16:43:52 +01:00
Philipp Schmitt
b8dcc812fa
Add zunit test for failing atclone hooks
2021-11-29 16:43:51 +01:00
Philipp Schmitt
3a6bf5b8bb
Explicitly return 0 in extract hook
2021-11-29 16:43:51 +01:00
Philipp Schmitt
c1048390fa
Explicitly return 0 and exit somewhat more cleanly in compile hook
2021-11-29 16:43:51 +01:00
Philipp Schmitt
7399ff460b
Return cleanly when make hook invoked but make"!(!?)" not set
2021-11-29 16:43:51 +01:00
Philipp Schmitt
50d7708d4c
Make zinit return != 0 when a hook fails
2021-11-29 16:43:51 +01:00
Philipp Schmitt
a4fd45576f
Fix typos
2021-11-29 12:51:24 +01:00
Philipp Schmitt
3318c315d8
Update zsdoc
2021-11-29 09:53:12 +01:00
Philipp Schmitt
1d0b8b953a
Consume the ver ice when loading package
2021-11-29 09:53:12 +01:00
Philipp Schmitt
fa16e90034
Leverage the ver ice to install from a specific branch or commit
2021-11-29 09:53:12 +01:00
Philipp Schmitt
02a4c923c2
Add breaking change notice about jq
2021-11-29 09:53:12 +01:00
Philipp Schmitt
b5126c31ab
💅 Prettify output
2021-11-29 09:53:12 +01:00
Philipp Schmitt
2c1b528e46
Use jq for json parsing
2021-11-29 09:53:12 +01:00
Philipp Schmitt
7d65e1646b
Allow installation from local packages.json files or other repositories
2021-11-29 09:53:12 +01:00
Philipp Schmitt
8b80ee7fd8
Add zinit::reload and re-init
2021-11-28 23:18:27 +01:00
Philipp Schmitt
b0adaf69f5
Add a few options
2021-11-28 22:59:31 +01:00
Philipp Schmitt
c58c351e05
Relegate test annex to extras
2021-11-28 22:43:38 +01:00
Philipp Schmitt
53cf43b9aa
Source fancy stuff (and esp. annexes) before reading in user runtime config
2021-11-28 22:41:45 +01:00
Philipp Schmitt
17c611ac0d
Only build :latest when pushing to main branch
2021-11-28 22:27:33 +01:00
Aaron Lichtman
8b5ed2a597
Merge pull request #114 from zdharma-continuum/lint
2021-11-27 17:16:43 -06:00
Philipp Schmitt
33c029db2b
DRY
2021-11-27 23:01:25 +01:00
Philipp Schmitt
01273ad374
Add workflow_dispatch trigger for zunit tests
2021-11-27 22:58:34 +01:00
Philipp Schmitt
be79f775a6
Basic linting 🤗
2021-11-27 21:25:12 +01:00
Philipp Schmitt
e06bc81be8
Add jq
2021-11-27 19:26:22 +01:00
Philipp Schmitt
92cf01ce78
Move fancy stuff to a dedicated zshrc file
2021-11-26 22:49:45 +01:00
Philipp Schmitt
4f34b08d90
Add --devel flag to mount repo as /src
2021-11-26 21:07:53 +01:00
Philipp Schmitt
29777969dc
Enable history
2021-11-26 21:07:30 +01:00
Philipp Schmitt
c1c3911702
Add ls alias (--color=auto)
2021-11-26 11:36:14 +01:00
Philipp Schmitt
5c2f497695
Make sure SHELL is defined
2021-11-26 09:55:26 +01:00
Philipp Schmitt
2e3af3e803
Add neovim and alias vim to neovim
2021-11-25 09:38:11 +01:00
Aaron Lichtman
f8040f8a4d
Merge pull request #107 from zdharma-continuum/bz2-rename
2021-11-25 01:59:57 -06:00
Philipp Schmitt
f8302dd45f
Add bz2 extension to bz2 files before attempting to extract. Fixes #105
2021-11-25 08:58:16 +01:00
Aaron Lichtman
d635ee59cb
Merge pull request #106 from daehyeok/echo_warn
2021-11-25 01:50:59 -06:00
Daehyeok Mun
a4eda707f4
Fix warning messages
...
Signed-off-by: Daehyeok Mun <daehyeok@gmail.com>
2021-11-24 23:39:17 -08:00
Philipp Schmitt
b368c5cced
Add coreutils, node/npm and ruby/gem
2021-11-24 06:52:46 +01:00
Philipp Schmitt
6fb7d38fc2
Add --env alias for --environment
2021-11-23 15:40:41 +01:00
Philipp Schmitt
8881531904
Disable zsh 5.1.1 builds
2021-11-23 13:23:47 +01:00
Philipp Schmitt
2f6cc2737b
Limit docker builds to 90 minutes of runtime (instead of the default 6 hours)
2021-11-23 12:56:05 +01:00
Philipp Schmitt
6c5df71e96
Fetch the annexes during the install ( #104 )
2021-11-23 11:18:11 +01:00
Philipp Schmitt
9a9be0c293
🐳 Add annexes to container ( #103 )
2021-11-23 11:17:39 +01:00
Philipp Schmitt
cbb867335d
Add -f|--file flag to provide the init config via a file rather than its content (-c)
2021-11-22 20:44:34 +01:00
Philipp Schmitt
24f278f49a
Update CHANGELOG: master -> main
2021-11-22 09:02:05 +01:00
Philipp Schmitt
7cd8768de4
Update default branch from master to main ( #100 )
2021-11-22 08:40:16 +01:00
Aaron Lichtman
62c2bfa788
Merge pull request #98 from zdharma-continuum/fancy-url
...
Shorten install url
2021-11-21 19:23:52 -06:00
Philipp Schmitt
f258041d63
Add notes about supported ice list
2021-11-21 15:18:06 +01:00
Philipp Schmitt
2feb41cf70
chown /data as well as its content
2021-11-21 12:10:04 +01:00
Philipp Schmitt
351bdeb10a
Do not prompt for the annexes if updating
2021-11-21 12:03:04 +01:00
Philipp Schmitt
85bf36c6b0
Fix warning messages
2021-11-21 11:55:31 +01:00
Philipp Schmitt
564801c2e5
Fix typo: warning -> warn
2021-11-21 11:53:50 +01:00
Philipp Schmitt
e866a7a1e8
Make sure TERM is set in the container. Fixes #97 ( #99 )
2021-11-21 11:26:51 +01:00
Philipp Schmitt
8dc5641f8a
Shorten install url
2021-11-21 09:03:18 +01:00
Aaron Lichtman
752bf63739
Merge pull request #96 from pschmitt/testing!
...
Testing!
2021-11-21 01:17:07 -06:00
Philipp Schmitt
8fc215c85a
Fix typo
...
Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>
2021-11-21 08:13:54 +01:00
Philipp Schmitt
c53a3f6cc7
Fix ices tests
2021-11-21 08:10:35 +01:00
Philipp Schmitt
43a81e12c8
Don't override other env vars when run with --zunit
2021-11-21 08:02:38 +01:00
Philipp Schmitt
6e590e8540
Add -e|--environment flag (and silence zunit runs)
2021-11-21 08:01:23 +01:00
Philipp Schmitt
f2daa6e665
Add --zsh-debug|-x flag to wrap commands in zsh -x
2021-11-20 22:53:28 +01:00
Philipp Schmitt
607d119596
Fix direnv ices
2021-11-20 22:32:39 +01:00
Philipp Schmitt
3ac21a9ba1
Test the sbin ice
2021-11-20 21:54:49 +01:00
Philipp Schmitt
0f1093df35
chmod +x on all the zunit files
2021-11-20 21:47:27 +01:00
Philipp Schmitt
977f0f6e77
Document (z)unit testing
2021-11-20 21:40:25 +01:00
Philipp Schmitt
fddfb49c91
Add zunit test badge
2021-11-20 21:24:23 +01:00
Philipp Schmitt
6039ae5375
Update CHANGELOG
2021-11-20 21:16:51 +01:00
Philipp Schmitt
9d9e410536
Testing with zunit!
2021-11-20 21:16:34 +01:00
Aaron Lichtman
4904564338
Merge pull request #95 from zdharma-continuum/xdg-zinit-home-dir
2021-11-20 07:54:45 -06:00
Philipp Schmitt
a572ff72cd
Update CHANGELOG
2021-11-20 14:53:55 +01:00
Philipp Schmitt
3cb7ca9413
Fall back to XDG_DATA_HOME
2021-11-20 14:19:34 +01:00
Philipp Schmitt
4c4739f118
Add XDG_DATA_HOME/zinit to the list of paths where ZINIT[HOME_DIR] might be
2021-11-20 14:15:41 +01:00
Aaron Lichtman
738b74d0cb
Merge pull request #94 from zdharma-continuum/refactor-mandir-creation
2021-11-20 07:05:50 -06:00
Philipp Schmitt
49fb3460e7
Move ZINIT[MAN_DIR] creation to .zinit-prepare-home
2021-11-20 14:02:42 +01:00
Philipp Schmitt
74176c51da
Remove run.sh
2021-11-20 11:00:57 +01:00
Philipp Schmitt
fc0e559d93
Update container image
2021-11-20 10:59:52 +01:00
Aaron Lichtman
8f4e3bbfa0
Merge pull request #88 from zdharma-continuum/container-imprivements
...
🐳 Container improvements
2021-11-20 01:18:58 -06:00
Aaron Lichtman
253df67c4c
Merge pull request #89 from zdharma-continuum/update-manpage
...
📚 Update manpage, zsd, README TOC and add instructions for docs
2021-11-20 01:18:27 -06:00
Philipp Schmitt
b78e38133b
Update zshelldoc
2021-11-20 00:12:00 +01:00
Philipp Schmitt
bf61d59754
Ignore zshelldoc data
2021-11-20 00:11:46 +01:00
Philipp Schmitt
5d85bdb9ae
Fix typo
2021-11-20 00:09:08 +01:00
Philipp Schmitt
f84fa61935
Add instructions for zsd and asciidoc
2021-11-20 00:06:52 +01:00
Philipp Schmitt
59f45f1bbe
Update TOC
2021-11-20 00:01:25 +01:00
Philipp Schmitt
94d820e34f
Add instructions for updating the TOC of the README
2021-11-20 00:00:06 +01:00
Philipp Schmitt
174dc4d5d6
Update manpage and add documentation for generating it from the README
2021-11-19 23:51:58 +01:00
Philipp Schmitt
4a19ad9b04
Add missing "the"s
2021-11-19 23:44:06 +01:00
Philipp Schmitt
f02ee7ca2a
zinit::setup-annexes: Skip zinit-annex-man since it has a lot more dependencies than the others
2021-11-19 23:37:44 +01:00
Philipp Schmitt
932be72cf4
Compile annexes, cause we can now!
2021-11-19 23:32:28 +01:00
Philipp Schmitt
8a8605620f
Fix ice for OMZL::keys
2021-11-19 23:27:31 +01:00
Philipp Schmitt
fc65d8913b
Load utils.zsh from /src instead the root filesystem (allows overriding it via a vol mount)
2021-11-19 20:05:54 +01:00
Philipp Schmitt
10ed7860c9
Sane keybindings
2021-11-19 19:59:16 +01:00
Philipp Schmitt
73f2611d27
Add helper function for installing zshelldoc (zsd)
2021-11-19 19:49:33 +01:00
Philipp Schmitt
8938a1537d
Add missing annexes
2021-11-19 18:59:08 +01:00
Philipp Schmitt
cedfd2526e
Remove entrypoint.zsh
2021-11-19 18:56:34 +01:00
Philipp Schmitt
11713a0a35
Fix docker build script and move it to scripts/
2021-11-19 18:55:55 +01:00
Philipp Schmitt
ad9f5e7195
Remove dead link (NEWS is gone)
2021-11-19 13:03:31 +01:00
Philipp Schmitt
cd81e69bcc
🚚 module: Get rid of the zdmodules/ dir ( #87 )
2021-11-19 10:14:51 +01:00
Aaron Lichtman
780c2e14b1
Merge pull request #86 from zdharma-continuum/module-fixes
2021-11-19 02:55:20 -06:00
Philipp Schmitt
8f3346710c
Fix if else syntax
2021-11-19 08:03:34 +01:00
Philipp Schmitt
c7f5ee25d4
Fix zinit module build when module repo has already been cloned before
2021-11-19 07:11:45 +01:00
Aaron Lichtman
2fe772e439
Merge pull request #85 from zdharma-continuum/plugin-template-git-config
2021-11-18 23:48:42 -06:00
Philipp Schmitt
bac6446ce4
✂ Remove custom git config for new plugins
2021-11-19 06:45:51 +01:00
Aaron Lichtman
17062eb38e
Merge pull request #82 from zdharma-continuum/relocate-template-script
2021-11-18 23:39:49 -06:00
Philipp Schmitt
cbf27d85f8
Partial revert of 1d7185a526
...
- The MIT license file is added to the repo by default again
- The printed message has been adjusted accordingly
2021-11-19 06:36:01 +01:00
Aaron Lichtman
79a26fdc96
Merge pull request #79 from zdharma-continuum/remove-travis-ci
2021-11-18 21:21:56 -06:00
Aaron Lichtman
5def74b60c
Merge pull request #83 from zdharma-continuum/winter-cleanup
2021-11-18 21:21:27 -06:00
Philipp Schmitt
3acc88379e
Don't assume the user wants a default .gitattributes
2021-11-18 23:04:06 +01:00
Philipp Schmitt
94d530d617
Escape !
2021-11-18 23:03:30 +01:00
Philipp Schmitt
1d7185a526
Don't assume the user wants his newly created plugin to be MIT licensed
2021-11-18 22:56:53 +01:00
Philipp Schmitt
35512afa32
🧹 Move scripts to scripts/ dir
2021-11-18 22:48:11 +01:00
Philipp Schmitt
55b6ff199b
🧹 Move template plugin data to share/template-plugin
2021-11-18 22:38:45 +01:00
Philipp Schmitt
126ad8ddbf
Remove shields from manpage
2021-11-18 22:22:24 +01:00
Philipp Schmitt
1060000b00
Remove more travis bits
2021-11-18 22:14:17 +01:00
Philipp Schmitt
4ca1ad9e93
✂️ Remove Travis CI config
2021-11-18 21:47:42 +01:00
Philipp Schmitt
5e3e66818a
Merge pull request #78 from joakimgottzen/patch-1
2021-11-18 15:05:36 +01:00
Joakim Gottzén
cbee0bd671
Print the correct module path
...
https://github.com/zdharma-continuum/zinit-module/commit/a1125ba updated the path of the compiled module, but it's not reflected in the output after a successful build by `zinit module build`.
Update .zinit-module to print the correct module path.
2021-11-18 13:55:22 +00:00
Aaron Lichtman
3b6d0b8b28
Merge pull request #75 from zdharma-continuum/zinit-package-monorepo
2021-11-18 05:26:00 -06:00
Aaron Lichtman
9d87127555
Fix URL
2021-11-18 05:22:51 -06:00
Philipp Schmitt
2bda700a91
Merge branch 'master' into zinit-package-monorepo
2021-11-18 12:11:48 +01:00
Philipp Schmitt
b84589009e
Update CHANGELOG
2021-11-18 12:08:42 +01:00
Aaron Lichtman
70b1d0a079
Merge pull request #76 from zdharma-continuum/no-news-good-news
2021-11-18 01:47:32 -06:00
Philipp Schmitt
8816c52552
Update TOC
2021-11-18 08:37:32 +01:00
Philipp Schmitt
eff3e545cb
Merge remote-tracking branch 'upstream/master' into no-news-good-news
2021-11-18 08:32:43 +01:00
Philipp Schmitt
335ef62556
Remove NEWS.md
...
Fixes #72
2021-11-18 08:21:26 +01:00
Aaron Lichtman
bef57e843d
Merge pull request #70 from zdharma-continuum/ci-docker
2021-11-18 01:04:14 -06:00
Philipp Schmitt
ffdf5a7e66
Merge branch 'master' into ci-docker
2021-11-18 08:03:30 +01:00
Aaron Lichtman
1ad75de009
Merge pull request #71 from zdharma-continuum/relocate-module
2021-11-18 01:01:13 -06:00
Philipp Schmitt
cd2a5f1f96
zinit-packages monorepo - Fix #69
2021-11-18 07:56:43 +01:00
Philipp Schmitt
10d2f507fa
Update filenames and path
...
Mostly zplugin -> zinit and zdharma -> zdharma-continuum
Ref: a67877efa9
2021-11-17 22:24:07 +01:00
Philipp Schmitt
eb3946d8f7
Allow overriding the module install dir via ZINIT[MODULE_DIR]
2021-11-17 22:17:30 +01:00
Philipp Schmitt
3020177e1c
✂️ Relocate module
2021-11-17 22:10:13 +01:00
Philipp Schmitt
d03784f74f
Update changelog: containers are now available
2021-11-17 20:30:39 +01:00
Philipp Schmitt
2583464bd5
🤖 Automated container builds
2021-11-17 19:58:12 +01:00
Aaron Lichtman
5df5fb6b46
Merge pull request #61 from zdharma-continuum/installer-ng
2021-11-17 02:19:04 -06:00
Aaron Lichtman
168b28ac24
Merge pull request #66 from pschmitt/hacking-md
2021-11-17 02:18:42 -06:00
Philipp Schmitt
9206ad4a06
Merge pull request #67 from vladdoster/patch-2
...
(bugfix): add macos as possible release descriptor
2021-11-17 07:41:02 +01:00
vladislav doster
b10e1c5fdc
(bugfix): add macos as possible release descriptor
...
Fixes issue where Neovim uses `macos` as a descriptor and fails to download.
2021-11-16 20:26:43 -06:00
Philipp Schmitt
2d2adaff5a
Clarify that documentation is the name of branch
2021-11-16 17:55:22 +01:00
Philipp Schmitt
633a04d479
Link to doc README (#in-case-of-fire)
2021-11-16 14:46:24 +01:00
Philipp Schmitt
ce3cd5c616
Move HACKING.md to doc/
2021-11-16 14:36:28 +01:00
Philipp Schmitt
424611f297
Add HACKING.md
...
Ref: https://github.com/zdharma-continuum/zinit/pull/53
2021-11-16 14:24:06 +01:00
Philipp Schmitt
437b071a6b
Sort steps
2021-11-16 12:03:40 +01:00
Philipp Schmitt
e099e2373b
Leverage tilde expansion for artifact files
2021-11-16 11:58:36 +01:00
Philipp Schmitt
7bbeb17c94
Enable macOS checks
2021-11-16 11:23:29 +01:00
Philipp Schmitt
74ee9397e9
Update git-process-output.zsh url
2021-11-16 11:09:59 +01:00
Philipp Schmitt
cd4f759dfb
Merge remote-tracking branch 'upstream/master' into installer-ng
2021-11-16 10:55:28 +01:00
Philipp Schmitt
efb25ce137
Add FIXME notice in regards to windows artifacts
2021-11-16 10:01:34 +01:00
Philipp Schmitt
f4588c87c4
zinit installs on windows (cygwin)
2021-11-16 10:00:00 +01:00
Aaron Lichtman
98b579a43a
Merge pull request #55 from pschmitt/spring-cleaning
2021-11-16 02:59:03 -06:00
Aaron Lichtman
5f6a2549ec
Fix typo
2021-11-16 02:48:53 -06:00
Philipp Schmitt
6eb36d0014
Add new installer section to the CHANGELOG
2021-11-16 08:38:45 +01:00
Philipp Schmitt
e6c48ac214
Fix install.sh URL (don't hardcode the branch name)
2021-11-16 08:25:56 +01:00
Philipp Schmitt
587b5407f3
Fix shellcheck issues
2021-11-16 07:19:48 +01:00
Philipp Schmitt
fce79125d1
Add shellcheck
2021-11-16 07:15:16 +01:00
Philipp Schmitt
6436189cda
Update zsh version check
2021-11-15 22:52:05 +01:00
Philipp Schmitt
b9674e2995
Add warning about zsh version if < 5.5
2021-11-15 22:24:32 +01:00
Philipp Schmitt
428d718229
ZPLG -> ZINIT
2021-11-15 21:58:17 +01:00
Philipp Schmitt
0c425c656d
🔪 Shorten the tutorial section
2021-11-15 21:53:08 +01:00
Philipp Schmitt
52ab2fc220
XDG-ify ZINIT_HOME in manpage
2021-11-15 21:42:58 +01:00
Philipp Schmitt
3d8ac200a9
XDG-ify ZINIT_HOME
2021-11-15 21:41:12 +01:00
Philipp Schmitt
4c2b461344
Update tutorial section
2021-11-15 21:32:59 +01:00
Aaron Lichtman
5253de6179
Update scripts/install.sh
2021-11-15 14:29:55 -06:00
Philipp Schmitt
dd704137e5
We need more emojis.
2021-11-15 21:13:58 +01:00
Philipp Schmitt
c27252c983
Remove the last remaining inline color escape sequences
2021-11-15 21:09:51 +01:00
Philipp Schmitt
0742fe925a
Only chmod +x the git output script if it was downloaded
2021-11-15 20:12:52 +01:00
Philipp Schmitt
32d67c4f3d
Move mod-install.sh to scripts/
2021-11-15 20:09:24 +01:00
Philipp Schmitt
ac892821ba
Update default paths
2021-11-15 20:07:31 +01:00
Philipp Schmitt
e7a007aa74
Add NO_EDIT and NO_TUTORIAL to skip resp. the zshrc edits or the tutorial
2021-11-15 20:02:30 +01:00
Philipp Schmitt
c4d3049591
Fix #60 : Move the installer to scripts/
2021-11-15 19:56:52 +01:00
Philipp Schmitt
3c3a223841
Overengineer the installer
2021-11-15 18:49:47 +01:00
Aaron Lichtman
54408969cd
Merge pull request #65 from nbrown/macos-mktemp
2021-11-14 22:58:31 -06:00
Nate Brown
a90ad66b07
Use 'mktemp -d' for macos compatibility
2021-11-14 22:45:09 -05:00
Philipp Schmitt
c0f14512a0
Move git-process-output.zsh to share/
2021-11-14 10:38:41 +01:00
Philipp Schmitt
7b0cbe0770
Merge pull request #43 from pschmitt/update-default-install-dir
2021-11-14 10:33:06 +01:00
Aaron Lichtman
d2f1df2091
Merge pull request #44 from pschmitt/readme-cleanup
2021-11-14 03:14:57 -06:00
Philipp Schmitt
da2eb2cab7
Revert "Update issues link"
...
This reverts commit 95d1a2fb44 .
2021-11-14 10:12:33 +01:00
Aaron Lichtman
156ab11ac4
Merge pull request #54 from pschmitt/be-gone-zplugin
2021-11-13 10:23:29 -06:00
Philipp Schmitt
33131d9a7f
Make the git clone command a bit more readable
2021-11-13 10:01:45 +01:00
Philipp Schmitt
f4e1468f33
Don't assume TMPDIR is /tmp
2021-11-13 09:43:58 +01:00
Philipp Schmitt
cdc75a62a8
🪓 Remove the remaining zplugin bits
2021-11-12 21:35:38 +01:00
Philipp Schmitt
8de591ba50
Update url and wording
2021-11-12 13:01:19 +01:00
Philipp Schmitt
4837741c89
✅ Shellchecked
2021-11-12 13:01:19 +01:00
Philipp Schmitt
168825fa2c
Update links and references to gh org
2021-11-12 13:01:13 +01:00
Philipp Schmitt
4981685207
Create the entire dir structure to ZINIT_HOME
2021-11-12 13:00:36 +01:00
Philipp Schmitt
6dc5f9c9b1
Update default install dir to XDG_DATA_HOME/zinit/zinit.git
...
Fixes https://github.com/zdharma-continuum/zinit/issues/40
2021-11-12 13:00:36 +01:00
Philipp Schmitt
95d1a2fb44
Update issues link
2021-11-12 12:59:55 +01:00
Philipp Schmitt
397342987a
Update module installation heading
2021-11-12 12:59:55 +01:00
Philipp Schmitt
8a7e7d61d9
Move NEWS to doc/NEWS.md
2021-11-12 12:59:37 +01:00
Philipp Schmitt
208bb3e69f
Merge pull request #48 from docwhat/pr/more-urls
2021-11-12 08:43:48 +01:00
Philipp Schmitt
85315b5132
Merge pull request #47 from pschmitt/update-annex-repos
2021-11-12 08:43:25 +01:00
Christian Höltje
672ae51414
fix: more cleaning up urls
...
Builds on PR #47
2021-11-11 17:57:43 -05:00
Philipp Schmitt
2728a6431f
Update changelog: New annex urls
2021-11-11 20:06:09 +01:00
Philipp Schmitt
b51c3c6922
Update annexes repo names ( #38 )
2021-11-11 19:59:38 +01:00
Philipp Schmitt
aa758fcdf0
Update repo url
2021-11-10 18:46:04 +01:00
Philipp Schmitt
e5f007ede7
Update repo url
2021-11-10 18:45:00 +01:00
Philipp Schmitt
963662a7dd
Update repo url
2021-11-10 18:36:14 +01:00
Aaron Lichtman
f5b48be819
Merge pull request #39 from pschmitt/name-censor
2021-11-10 00:12:34 -06:00
Philipp Schmitt
dcb834ea06
No more name calling
2021-11-10 07:05:07 +01:00
Philipp Schmitt
e151e05f0d
Reduce line length a bit
2021-11-09 18:56:24 +01:00
Philipp Schmitt
1d6ab9fca4
Move banner up
2021-11-09 18:52:56 +01:00
Philipp Schmitt
eec76e57ce
🧹 Move zsdoc to doc/zsdoc ( #36 )
2021-11-09 18:15:20 +01:00
Philipp Schmitt
d0cd6f0a4d
🧹 Remove .mailmap ( #36 )
2021-11-09 17:25:46 +01:00
Aaron Lichtman
6ad9c45642
Merge pull request #34 from pschmitt/disclaimers
2021-11-09 04:07:59 -06:00
Philipp Schmitt
4291d30069
Add link to migration wiki page
2021-11-09 09:19:39 +01:00
Philipp Schmitt
a07d1e3f97
Remove reddit badge
2021-11-09 08:48:33 +01:00
Aaron Lichtman
06b0428bd4
Merge pull request #33 from pschmitt/zdharma-org-purge
2021-11-09 01:40:50 -06:00
Philipp Schmitt
60b07eda95
Update social links
2021-11-09 08:38:17 +01:00
Philipp Schmitt
9b97a9803d
Use https where possible
2021-11-09 08:24:25 +01:00
Philipp Schmitt
8de32245b4
Fix remaining links
2021-11-09 08:03:41 +01:00
Philipp Schmitt
b3a4fc6ccd
Merge pull request #25 from docwhat/patch-1
2021-11-08 16:56:19 +01:00
Christian Höltje
24f10f6367
fix: package are broken again
...
You cannot refer to a variable in the same statement as it is declared.
2021-11-08 10:32:17 -05:00
Aaron Lichtman
eedc6871e3
Merge pull request #12 from pschmitt/zpfx-manpath-creation
2021-11-07 17:00:46 -06:00
Aaron Lichtman
3e59627c05
Merge pull request #20 from pschmitt/gh-issue-template-update
2021-11-07 17:00:02 -06:00
Aaron Lichtman
6878c24069
Merge pull request #18 from pschmitt/zservices-fix-doc
2021-11-07 16:59:47 -06:00
Aaron Lichtman
1ed8e75e42
Merge pull request #22 from pschmitt/dont-assume-default-branch
2021-11-07 16:59:21 -06:00
Philipp Schmitt
422f517b06
Merge pull request #23 from docwhat/patch-1
2021-11-07 18:26:38 +01:00
Philipp Schmitt
386a183e2e
Merge pull request #24 from docwhat/patch-2
2021-11-07 18:25:16 +01:00
Christian Höltje
73a8c92d43
fix: use [*] inside arbitrary strings.
...
Only use `[@]` as only content of a string. e.g., "${foo[@]}"
2021-11-07 12:08:05 -05:00
Philipp Schmitt
b9a5624074
Don't assume the default branch is named "main"
2021-11-07 18:03:21 +01:00
Christian Höltje
00c70a434d
fix: read without -r is generally bad.
...
The yes/no prompt doesn't need backslash escaped characters.
2021-11-07 12:03:16 -05:00
Philipp Schmitt
b40fb28193
Update issue template to incentivize users to share relevant config sections
2021-11-06 20:58:21 +01:00
Philipp Schmitt
b1cf7bb4a3
Update zservices links
2021-11-06 12:45:18 +01:00
Philipp Schmitt
c0a167baa1
Merge remote-tracking branch 'upstream/master' into zpfx-manpath-creation
2021-11-06 10:45:45 +01:00
Aaron Lichtman
789eb023b1
Merge pull request #15 from pschmitt/announce-new-home
2021-11-06 04:41:14 -05:00
Philipp Schmitt
b7797b2c99
Announce zdharma-continuum
2021-11-06 10:37:07 +01:00
Philipp Schmitt
f2467d8a11
Update CHANGELOG
2021-11-06 10:28:14 +01:00
Philipp Schmitt
da91b76ed6
Create man{1..9} instead of only man1
2021-11-05 22:16:17 +01:00
Philipp Schmitt
6dad900dd4
Link to #8 explicitly
2021-11-05 19:38:53 +01:00
Philipp Schmitt
1ba4633990
Update ZINIT[MAN_DIR] description
2021-11-05 19:36:43 +01:00
Philipp Schmitt
ae37986c0e
Ensure ZPFX/man/man1 exists
2021-11-05 18:51:57 +01:00
Aaron Lichtman
e2b553ba5c
Merge pull request #11 from pschmitt/fix-zsh-package-urls
2021-11-05 02:34:52 -05:00
Philipp Schmitt
397ef635dc
Fix zinit package URLs
2021-11-04 22:06:45 +01:00
Aaron Lichtman
a0792b21f3
Merge pull request #10 from pschmitt/fix-pack-ice
2021-11-04 06:42:02 -05:00
Philipp Schmitt
66f10ed26a
Fix typo
2021-11-04 12:40:11 +01:00
Philipp Schmitt
933ddb4fe2
Update pack repo and default branch
2021-11-04 11:25:12 +01:00
Aaron Lichtman
b09125a6c6
Merge pull request #9 from yutkat/patch-1
2021-11-04 03:13:46 -05:00
Yuta Katayama
59e9dbf35e
Fix asynchronous update message
2021-11-04 10:38:33 +09:00
Aaron Lichtman
d3d6e99a74
Merge pull request #7 from mortenscheel/patch-1
2021-11-01 06:48:45 -05:00
Morten Scheel
9ed49961e1
Load annexes from zdharma-continuum repos
2021-11-01 12:47:41 +01:00
Aaron Lichtman
74e9a5825c
Delete FUNDING.yml
2021-11-01 04:54:00 -05:00
Aaron Lichtman
4c52468ebd
Update FUNDING.yml
2021-11-01 04:53:49 -05:00
Aaron Lichtman
9bcaaaabee
Use zdharma-continuum in mod-install.sh
2021-11-01 04:33:57 -05:00
Aaron Lichtman
bb0affce2d
Remove DONATIONS.md
2021-11-01 04:32:39 -05:00
Aaron Lichtman
3308ff8fc0
Point install script to zdharma-continuum
2021-11-01 04:31:09 -05:00
Aaron Lichtman
bb3070f63f
Merge pull request #5 from findNextStep/master
2021-11-01 04:28:53 -05:00
panxueqian
4f87076601
fix: remove use less line
2021-11-01 17:27:01 +08:00
the_next
c5cfb7f174
Merge branch 'master' into master
2021-11-01 04:18:17 -05:00
panxueqian
66b1700752
fix: update zdharma to zdharma-continuum
...
make readme.md more useful
2021-11-01 17:12:39 +08:00
Aaron Lichtman
bdcb43219d
Merge pull request #4 from vladdoster/patch-1
2021-11-01 04:05:18 -05:00
vladislav doster
634e1bf87b
Merge branch 'master' into patch-1
2021-11-01 04:01:39 -05:00
Aaron Lichtman
9cb28b76f5
Update README.md
2021-11-01 03:58:20 -05:00
vladislav doster
d6a3560412
(maint): update links to point towards zdharma-continuum
2021-11-01 03:57:29 -05:00
Sebastian Gniazdowski
9ea1c9bcb7
Merge pull request #525 from Dophin2009/doc-creinstall-Q
...
Document creinstall -Q flag
2021-07-28 12:42:22 +02:00
Eric Zhao
3920cc8289
Document creinstall -Q flag
2021-07-15 17:20:53 -04:00
Sebastian Gniazdowski
f25d483eb5
Merge pull request #492 from black7375/master
...
Easy to understand README
2021-06-12 08:35:18 -05:00
alstjr7375
a9d2425ffa
Doc: Update method
2021-06-12 21:07:09 +09:00
alstjr7375
f43ebb32be
Merge branch 'master' of https://github.com/zdharma/zinit
2021-06-12 20:50:15 +09:00
Sebastian Gniazdowski
f3cd0b7895
Quote percent % in print -P messages.
2021-05-30 00:55:28 +02:00
Sebastian Gniazdowski
603ea59e7d
Merge pull request #513 from sigma/fix/ostype
...
support OSTYPE linux-musl
2021-05-25 02:20:20 +02:00
Yann Hodique
b3a19a4ea0
support OSTYPE linux-musl
...
Typically, when zsh is built as a static binary (as with https://github.com/romkatv/zsh-bin )
OSTYPE reports linux-musl, instead of the more common linux-gnu.
Which in turn breaks binary selection from gh-r, and leads to download of mac binaries.
This change maps both linux-gnu and linux-musl to the match string "linux".
This fixes #416
2021-05-24 02:08:26 +00:00
Sebastian Gniazdowski
78c9cc565f
Extend aliases resilence / safety
2021-05-08 02:10:22 -05:00
Sebastian Gniazdowski
62ad7f7e55
README.md
2021-05-08 02:01:14 -05:00
alstjr7375
d7cf9cc72a
Doc: turbo mode & lucid at Quick Start
2021-04-21 11:01:29 +09:00
alstjr7375
ef56a29051
Doc: @bbenzikry reviews reflect 2nd
2021-04-21 10:35:13 +09:00
alstjr7375
238f1b6f0e
Doc: @bbenzikry reviews reflect
2021-04-20 15:02:28 +09:00
Sebastian Gniazdowski
b12d1cbf09
Merge pull request #480 from NICHOLAS85/lastmodifiedfix
...
*install: Fix .zinit-get-url-mtime function
2021-04-19 13:57:35 -05:00
alstjr7375
086c77ecfc
Cleanup README
2021-04-01 17:26:47 +09:00
alstjr7375
2fef19e54c
Merge branch 'master' of https://github.com/zdharma/zinit
2021-03-31 09:10:45 +09:00
alstjr7375
49c5854725
Doc: doc order organization
2021-03-31 09:05:23 +09:00
alstjr7375
d3eeab81e5
Doc: migrations to detail, summary
2021-03-30 15:44:13 +09:00
Sebastian Gniazdowski
044ba6d412
README.md
2021-03-27 09:59:53 +01:00
Sebastian Gniazdowski
51251ea7eb
Merge pull request #497 from NICHOLAS85/fixdocslinks
...
Update doc links
2021-03-27 09:57:26 +01:00
NICHOLAS85
cfe783cc82
Update doc links
2021-03-26 14:37:05 -04:00
Sebastian Gniazdowski
e03cc7ce3f
Update README.md
...
Update Wiki link
2021-03-20 16:14:21 +01:00
alstjr7375
4370533517
Doc: code highlight update
2021-03-16 15:05:42 +09:00
alstjr7375
f8b1a21173
Doc: remove duplicate section
2021-03-16 13:35:30 +09:00
alstjr7375
08b9607c67
Doc: Quick Guide
2021-03-16 13:30:12 +09:00
NICHOLAS85
804bfb38a5
*install: Fix .zinit-get-url-mtime function
2021-02-10 03:31:34 -05:00
NICHOLAS85
d82bb6618b
*install: Remove trailing whitespace
2021-02-10 03:24:00 -05:00
Sebastian Gniazdowski
4457b998cd
Remove a character, thanks @NICHOLAS85
2020-12-29 08:41:13 -06:00
Sebastian Gniazdowski
d96a72505b
"Improve indentation"
2020-12-28 05:24:01 -06:00
Sebastian Gniazdowski
bae9652508
Update the help messages. Most important commands now have -h/--help option.
2020-12-26 20:29:42 -06:00
Sebastian Gniazdowski
423bb950fe
Update the message function to support colored special characters.
2020-12-26 20:27:40 -06:00
Sebastian Gniazdowski
ef173c1ecb
Merge pull request #454 from MenkeTechnologies/master
...
missing builtin before cd
2020-12-24 03:15:30 +01:00
MenkeTechnologies
7662f9eeac
missing builtin before cd
2020-12-20 14:09:50 -05:00
Sebastian Gniazdowski
1641f10c7a
Slightly improve message function.
2020-12-19 01:33:53 -06:00
Sebastian Gniazdowski
135b6963dc
Cleanup.
2020-12-19 01:28:11 -06:00
Sebastian Gniazdowski
aef0e46ecc
Fix snippet message and slightly improve other ones.
2020-12-19 01:20:09 -06:00
Sebastian Gniazdowski
9041ba5192
Fix .zinit-first()
2020-12-19 01:01:12 -06:00
Sebastian Gniazdowski
b59b977080
Update messages.
2020-12-18 21:56:27 -06:00
Sebastian Gniazdowski
1cea67c5cc
Fix a message.
2020-12-18 05:01:16 -06:00
Sebastian Gniazdowski
94109fbaec
Improve messages.
2020-12-18 04:48:20 -06:00
Sebastian Gniazdowski
cdc2c4379d
Fix +X autoload. Resolves gh-441.
2020-12-18 02:54:56 -06:00
Sebastian Gniazdowski
5c224537d9
Improve a message and slightly alter color theme.
2020-12-17 03:38:47 -06:00
Sebastian Gniazdowski
2c01a5ac56
Improve messages: codes like {…} automatically make current color to last after them.
2020-12-17 03:18:51 -06:00
Sebastian Gniazdowski
0c14b210d5
Minor messages update.I
2020-12-17 01:32:15 -06:00
Sebastian Gniazdowski
813b0b5d01
git-process-output.zsh – update colors.
2020-12-17 00:03:48 -06:00
Sebastian Gniazdowski
33b0000675
Uplift the {bar}/{th-bar} code, i.a.: add a non-UTF8 fallback character.
2020-12-16 23:29:45 -06:00
Sebastian Gniazdowski
39abb744d6
Add {bar} and {th-bar} ("thick bar") formatters, which draw a line spanning horizontal line.lj
2020-12-16 23:09:24 -06:00
Sebastian Gniazdowski
1f11f8537f
Missed changes.I
2020-12-16 23:08:39 -06:00
Sebastian Gniazdowski
06a78a0a1d
Uplift the m function code. Make it properly available during update.
2020-12-16 23:06:08 -06:00
Sebastian Gniazdowski
dc9af228e4
Fix %F codes support for +zinit-message. Fixes #448 .
2020-12-16 22:03:08 -06:00
Sebastian Gniazdowski
2463d2d028
Limit MUTE_WARNINGS recognized values.
2020-12-16 21:19:37 -06:00
Sebastian Gniazdowski
497e899a10
A small, general messages update.
2020-12-16 21:15:49 -06:00
Sebastian Gniazdowski
96cbc84bf2
Update package related messages.
2020-12-16 21:10:48 -06:00
Sebastian Gniazdowski
23d40d9d02
Updated the pid formatter and the message function.
2020-12-16 21:09:17 -06:00
Sebastian Gniazdowski
7afddbdde2
Fix autoloading with the +X option (immediate read from the disk)
2020-12-16 20:19:24 -06:00
Sebastian Gniazdowski
103f77df81
Fix the absolute path autoload functions support. #441
2020-12-16 20:17:01 -06:00
Sebastian Gniazdowski
c27bf53f06
Updated the color theme.
2020-12-16 19:06:38 -06:00
Sebastian Gniazdowski
8281243840
Add -n/--no-pager option to update. Fixes #383 .
2020-12-13 06:19:23 -06:00
Sebastian Gniazdowski
3fdfae3a73
Merge pull request #447 from NICHOLAS85/cdquiet
...
*autoload: use cd -q
2020-12-09 22:38:30 +01:00
NICHOLAS85
5cc6b031e1
*autoload: use cd -q
2020-12-08 01:18:37 -05:00
Sebastian Gniazdowski
11c7e3b889
Merge pull request #445 from natasha-codes/sasha/onlyAddZinitToPathIfExist
...
Only add `$ZPFX/bin` to path if it exists
2020-12-08 06:39:52 +01:00
sashaweiss
ef56c2b328
Keep existing code, and add check
2020-12-07 17:37:44 -08:00
sashaweiss
bb8426fc9f
Only add $ZPFX/bin to path if that dir exists
2020-12-07 17:34:14 -08:00
Sebastian Gniazdowski
7a9df80154
Merge pull request #442 from docwhat/pr/403-match-linux64
...
improve gh-r version matching: foo-linux64
2020-12-04 22:32:31 +01:00
Christian Höltje
9b9296f40b
improve gh-r version matching: foo-linux64
...
fixes #403
2020-12-03 16:18:06 -05:00
Sebastian Gniazdowski
857d6fb6b4
Update a message.
2020-11-26 06:47:20 -06:00
Sebastian Gniazdowski
0b83b283d8
Update an error message.
2020-11-26 06:28:23 -06:00
Sebastian Gniazdowski
cdd7d76746
Rename for z-a-readurl.
2020-11-26 06:11:25 -06:00
Sebastian Gniazdowski
a48a47b830
Rename for z-a-readurl
2020-11-26 06:07:59 -06:00
Sebastian Gniazdowski
66b8fcdff3
Old git compatibility. Fixes #386 .
2020-11-15 06:31:04 -06:00
Sebastian Gniazdowski
2d79fea905
Make the ices available to hooks. Fixes #429 .
2020-11-14 22:15:01 -06:00
Sebastian Gniazdowski
95b8db3ef0
$repo → $local_dir + a [[ -d $local_dir/.git ]] check before git verify #428,#425
2020-11-14 22:01:56 -06:00
Sebastian Gniazdowski
dd86af42b7
Fix the update problem (fixes #428,#425).
2020-11-14 21:50:33 -06:00
Sebastian Gniazdowski
cbea70e056
Remove a problematic character (on 5.0.2).
2020-11-14 21:37:43 -06:00
Sebastian Gniazdowski
97f994f490
Rename functions ( fixes #427 ).
2020-11-07 10:39:42 +01:00
Sebastian Gniazdowski
446f9fdea8
Fix OMZ, Prezto-shorthand handling in zstatus's snippet enumeration.
2020-11-07 10:39:42 +01:00
Sebastian Gniazdowski
83f2f6fd7c
Extended comment on the *message() function.
2020-11-07 04:30:54 +01:00
Sebastian Gniazdowski
e45b3d74db
Support the main branch ( fixes #425 ).
2020-11-07 01:31:08 +01:00
Sebastian Gniazdowski
94ecad8335
A general, small uplift of the colors, messages, etc.
2020-11-06 23:14:06 +01:00
Sebastian Gniazdowski
3bf975a45a
Fix a comment.
2020-11-06 21:55:07 +01:00
Sebastian Gniazdowski
e7b16c39f8
Tweak a substitution.
2020-11-06 21:52:11 +01:00
Sebastian Gniazdowski
38f430ebdc
Recognize OMZ and Prezto shorthands as URLs for the detailed coloring.
2020-11-06 21:48:07 +01:00
Sebastian Gniazdowski
72acc6127b
Rename wrap-track → wrap.
2020-11-06 21:45:32 +01:00
Sebastian Gniazdowski
567e6c59d3
Uplift the message colors.
2020-11-06 21:44:44 +01:00
Sebastian Gniazdowski
f1c7f99256
Uplift zstatus subcommand.
2020-11-06 21:35:13 +01:00
Sebastian Gniazdowski
0f1aa59b94
Use the detailed coloring of snippet URLs in the zstatus subcommand.
2020-11-06 21:25:05 +01:00
Sebastian Gniazdowski
6063ac8e28
Make any URLs printed with detailed coloring by a generalized mechanism.
2020-11-06 21:03:56 +01:00
Sebastian Gniazdowski
b5cc9a4534
Update messages and unicode compatibility.
2020-11-06 16:00:29 +01:00
Sebastian Gniazdowski
07185a00eb
Update comments.
2020-11-06 15:53:46 +01:00
Sebastian Gniazdowski
925c96e0c1
Small tweaks around the paths-establishing code.
2020-11-06 14:11:17 +01:00
Sebastian Gniazdowski
acd31fcdf7
Uplift the message colors.
2020-11-06 14:10:29 +01:00
Sebastian Gniazdowski
284784985e
Merge pull request #414 from horta/zsh-5.0.2-fix
...
zinit-message zsh 5.0.x compatibility
2020-09-07 17:56:58 +02:00
Sebastian Gniazdowski
46c6acbafa
Uplift formatter.
2020-09-07 14:44:54 +02:00
Danilo Horta
f693ebdaaa
zinit-message zsh 5.0.x compatibility
2020-09-07 10:27:58 +01:00
Sebastian Gniazdowski
9d7b25a1fc
Reformat/reindent-only *-message.
2020-09-07 10:50:16 +02:00
Sebastian Gniazdowski
009f1d3a2b
Silence tput, use a fallback cols value #411 .
2020-09-04 10:03:35 +02:00
Sebastian Gniazdowski
dcac918f5f
Seat CUR_* fields of ZINIT earlier #356 .
2020-09-03 17:04:07 +02:00
Sebastian Gniazdowski
8a05dceea6
Merge pull request #409 from solarizedalias/fix/recently/not-a-directory
...
Skip non-directories for zinit recently
2020-09-03 16:56:47 +02:00
Sebastian Gniazdowski
91058100be
Merge pull request #402 from NICHOLAS85/list_sbin
...
Allow empty sbin and fbin ices to show up in zinit list output
2020-09-03 16:45:39 +02:00
Sebastian Gniazdowski
0643dfe899
Merge pull request #399 from ratorx/patch-1
...
Prevent duplicate lines being added to .zshrc
2020-09-03 16:28:51 +02:00
Sebastian Gniazdowski
2b6bf255ab
Merge pull request #397 from Aloxaf/compile_without_alias
...
Don't expand aliases when compiling to zwc
2020-09-03 16:18:00 +02:00
Sebastian Gniazdowski
8f297f67db
Improve error messages.
2020-09-03 16:08:51 +02:00
Sebastian Gniazdowski
4471e4ce19
Restore the activitiy of the light-mode.
2020-09-03 15:55:33 +02:00
Sebastian Gniazdowski
a563cade19
Respect TMPDIR
2020-09-03 15:27:18 +02:00
solarizedalias
194fef0cba
Skip non-directories
2020-09-02 17:21:32 +09:00
NICHOLAS85
d6dcd5c12d
*autoload: Allow empty sbin and fbin to show up in list output
2020-08-23 03:27:43 -04:00
Reeto Chatterjee
1b143c408e
Prevent duplicate lines being added to .zshrc
2020-08-16 00:50:51 +01:00
Sebastian Gniazdowski
c59ca3fa63
Add a dot after a comment text.
2020-08-13 20:50:22 +02:00
Sebastian Gniazdowski
5e841ab328
Revert "Move the hooks up."
...
This reverts commit 115eb0e25a .
2020-08-08 11:17:44 +02:00
Aloxaf
7c938732d7
Don't expand aliases when compiling to zwc
2020-08-06 11:32:35 +08:00
Sebastian Gniazdowski
f630c3a9b4
Merge pull request #396 from foriequal0/pull-no-rebase
...
Add `pull.rebase=false` on cloning git repo, so that it's stored in `.git/config`.
2020-08-05 08:12:30 +02:00
SeongChan Lee
016a888166
Add pull.rebase=false on cloning git repo
2020-08-05 12:40:13 +09:00
Sebastian Gniazdowski
534083182e
Remove a new-Zsh dependent syntax.
2020-08-02 21:45:40 +02:00
Sebastian Gniazdowski
1d85dbceb0
Reorder functions.
2020-07-27 19:08:57 +02:00
Sebastian Gniazdowski
3390b87b4c
Change order.
2020-07-27 19:03:49 +02:00
Sebastian Gniazdowski
f4bad09e08
Add a new function.
2020-07-27 18:32:17 +02:00
Sebastian Gniazdowski
115eb0e25a
Move the hooks up.
2020-07-27 13:44:30 +02:00
Sebastian Gniazdowski
8c1d0c2551
Improve gh-r matching.
2020-07-26 09:49:36 +02:00
Sebastian Gniazdowski
a553aea8e4
Improved gh-r binary matching.
2020-07-26 09:38:04 +02:00
Sebastian Gniazdowski
ac144b2503
Keep the modification time of an archive file unchanged.
2020-07-26 09:07:22 +02:00
Sebastian Gniazdowski
65bb8df723
Improve the colors.
2020-07-26 08:49:12 +02:00
Sebastian Gniazdowski
f425f25de8
Improve archive unpacking.
2020-07-26 08:48:37 +02:00
Sebastian Gniazdowski
abb9bdda73
Uplift the color keys (ZINIT).
2020-07-24 21:58:57 +02:00
Sebastian Gniazdowski
d78ef6fec1
A missing func rename.
2020-07-24 01:40:24 +02:00
Sebastian Gniazdowski
24d3363ece
Improved error messages on the basic situations like: zinit bad-command.
2020-07-24 01:37:43 +02:00
Sebastian Gniazdowski
d12308f537
Fix a message.
2020-07-23 23:02:44 +02:00
Sebastian Gniazdowski
fa60c61fad
A rich usage-info message when no arguments at all given.
2020-07-23 22:00:24 +02:00
Sebastian Gniazdowski
9638a3fbd1
{dots} → {…}, {bold} → {b}, +{nb} ↔ not-bold.
2020-07-23 21:59:17 +02:00
Sebastian Gniazdowski
b3b4fe24c2
FEATURE: `update' has new options: -u/--urge → trigger all hooks even if no new commits, etc.
...
Works like run-atpull'' ice.
2020-07-23 20:35:04 +02:00
Sebastian Gniazdowski
a5953e3a8d
Don't use --, only - in messages.
2020-07-23 17:43:19 +02:00
Sebastian Gniazdowski
eeaaf159f7
Uplift the colors.
2020-07-23 17:40:56 +02:00
Sebastian Gniazdowski
5fa766dfea
Quote the new col-* keys.
2020-07-23 17:35:02 +02:00
Sebastian Gniazdowski
2352f181d6
Mute the `… --all passed' message when --all.
2020-07-23 17:31:48 +02:00
Sebastian Gniazdowski
d0eb3bffb6
Use a separate function for the option-parsing code.
2020-07-23 17:30:56 +02:00
Sebastian Gniazdowski
c7c3d8fcab
Use ICE2 array for *compute-ice.
2020-07-23 17:09:34 +02:00
Sebastian Gniazdowski
dd94885ce3
Feature: update, delete and env-whitelist now support the -h/--help options.
2020-07-23 16:14:05 +02:00
Sebastian Gniazdowski
3b8a56aaae
New color/escape codes.
2020-07-23 16:13:13 +02:00
Sebastian Gniazdowski
523b2e7237
Allow tabs before comments in subst''.
2020-07-23 16:12:47 +02:00
Sebastian Gniazdowski
e78b79e077
Remove a debug print.
2020-07-23 15:29:51 +02:00
Sebastian Gniazdowski
3bf562925c
Add {tab} and fix --quiet opt for `update'.
2020-07-23 15:15:23 +02:00
Sebastian Gniazdowski
a121ef441e
Prepare a generic -h/--help support for subcommands, i.a.: add help texts.
2020-07-23 15:06:48 +02:00
Sebastian Gniazdowski
0580dbadda
Rename: ZINIT_ICE → ICE.
2020-07-23 13:59:41 +02:00
Sebastian Gniazdowski
a18f0cf90e
Fix return value for `delete --clean'.
2020-07-23 13:50:22 +02:00
Sebastian Gniazdowski
591d245575
Improve options parsing for `delete'.
2020-07-23 13:47:02 +02:00
Sebastian Gniazdowski
2435b43822
New color codes.
2020-07-23 13:30:12 +02:00
Sebastian Gniazdowski
4582d9adfb
Improved logic and messages for the options-parsing for `update' and in general.
2020-07-23 13:29:20 +02:00
Sebastian Gniazdowski
81f4836e50
... → … in in all messages, if UTF-8 locale.
2020-07-22 06:14:04 +02:00
Sebastian Gniazdowski
cbbfa57c97
README.md
2020-07-22 06:01:14 +02:00
Sebastian Gniazdowski
f4341c6330
Change flag order.
2020-07-20 19:51:39 +02:00
Sebastian Gniazdowski
7414d2fae1
Make a help message auto-generated.
2020-07-20 19:00:13 +02:00
Sebastian Gniazdowski
06873a03b4
Remove unnecessary specific-case code.
2020-07-20 18:59:45 +02:00
Sebastian Gniazdowski
37a551204a
Fix double ices on `zinit recall …'.
2020-07-20 18:49:21 +02:00
Sebastian Gniazdowski
ccf90a5598
Skip part of message when the id is the same.
2020-07-20 12:04:14 +02:00
Sebastian Gniazdowski
efff176779
Show the correct package name.
2020-07-19 17:04:31 +02:00
Sebastian Gniazdowski
c6dfa0ad75
FIX: https://github.com/ … snippets are working again #382 .
2020-07-18 23:18:12 +02:00
Sebastian Gniazdowski
d2cfec3663
Correct vim-folds comments.
2020-07-18 19:52:33 +02:00
Sebastian Gniazdowski
375a898185
promptsubst isn't needed for the url formatter.
2020-07-18 19:50:59 +02:00
Sebastian Gniazdowski
aa1e4474eb
A good url formatter.
2020-07-18 19:49:51 +02:00
Sebastian Gniazdowski
dbfcdc8020
Allow empty result from a formatter function.
2020-07-18 19:33:32 +02:00
Sebastian Gniazdowski
d599245bc6
Can't use - substitution, have to stick to edge-case faulty :-…
2020-07-18 19:17:12 +02:00
Sebastian Gniazdowski
86b222e1cf
Extend *message so that it calls formatter functions for {pid} and {url}.
2020-07-18 19:14:11 +02:00
Sebastian Gniazdowski
a2746b844c
Rethink and improve package-installation messages.
2020-07-18 16:29:39 +02:00
Sebastian Gniazdowski
a5e0cce53a
emulate near every zcompile.
2020-07-18 07:12:45 +02:00
Sebastian Gniazdowski
2d9e13eb22
Fix *two-paths.
2020-07-18 07:11:55 +02:00
Sebastian Gniazdowski
d077303786
Move .zinit-setup-params to the main source.
2020-07-18 01:56:41 +02:00
Sebastian Gniazdowski
5c72619da3
FEATURE: A new ice binary' ↔ works like null' however installs completions.
...
- `null' works like: pick'/dev/null' nocompletions.
- `binary' works like: pick'/dev/null'.
I.e.: it denotes a binary, no-source plugin that still might have some
completions to install.
2020-07-18 00:01:30 +02:00
Sebastian Gniazdowski
1a7506a641
Cleanup in *install-completions.
2020-07-17 23:56:46 +02:00
Sebastian Gniazdowski
c78de66472
FIX: pmodload was broken (for 1.5 hour, thanks @NorthIsUp) #381 .
2020-07-17 23:17:13 +02:00
Sebastian Gniazdowski
2a1a6ae45c
Implement the ID overriding via teleid''.
2020-07-17 21:37:46 +02:00
Sebastian Gniazdowski
76783c910d
IMPORTANT FIX: It is very probable that id-as'…' and wait'' (Turbo)
...
plugins were actually loaded without Turbo. That's now fixed :).
repeat 5 { time /bin/zsh -ic exit; } :)
2020-07-17 21:00:08 +02:00
Sebastian Gniazdowski
1201e1da79
No hook calling on `update'.
2020-07-17 15:28:22 +02:00
Sebastian Gniazdowski
371f85496e
Fix `zinit ice …; zinit update …' for snippets.
2020-07-17 15:27:33 +02:00
Sebastian Gniazdowski
1c4bb1f0a9
Extend the Annex API — gather the previously-processed ID in an ZINIT key.
2020-07-17 14:44:04 +02:00
Sebastian Gniazdowski
64c8f4e0f0
Fix an autoload'' bug that prevented it from working on id-as'…' plugins.
2020-07-17 14:42:57 +02:00
Sebastian Gniazdowski
a4ea80e06f
Update colors.
2020-07-17 14:35:13 +02:00
Sebastian Gniazdowski
4de0f031e0
Skip the current $1 in before-load's hook/callback 4th argument.
2020-07-17 13:25:26 +02:00
Sebastian Gniazdowski
da16c33832
Update a message.
2020-07-17 13:25:02 +02:00
Sebastian Gniazdowski
0bb31a6c0d
Don't shift unless error from before-load hook.
2020-07-17 08:58:34 +02:00
Sebastian Gniazdowski
6362c56c24
Add some top-level debug message.
2020-07-17 08:57:41 +02:00
Sebastian Gniazdowski
c65ba93fbc
Extend warning on before-load hook-communication problems (issues URL).
2020-07-17 08:07:22 +02:00
Sebastian Gniazdowski
9e0f37adc3
Extended API for communication with the before-load hooks.
2020-07-17 07:47:09 +02:00
Sebastian Gniazdowski
faee4ce653
Return the gathered ret-val, not always 0.
2020-07-17 07:46:20 +02:00
Sebastian Gniazdowski
e046ba991e
General ret-val cleanup and also related to before-load hook.
2020-07-17 07:45:18 +02:00
Sebastian Gniazdowski
b3282bdb39
Utilize return's math context.
2020-07-17 07:42:41 +02:00
Sebastian Gniazdowski
a558dd3632
README.md
2020-07-16 22:24:14 +02:00
Sebastian Gniazdowski
a79b065cd6
Make `cd' use pushd builtin.
2020-07-16 22:23:35 +02:00
Sebastian Gniazdowski
77466603fb
README.md
2020-07-16 15:01:37 +02:00
Sebastian Gniazdowski
588be98c45
README.md
2020-07-16 14:41:00 +02:00
Sebastian Gniazdowski
ed54f898d9
Significantly improve +zinit-message.
2020-07-15 14:43:50 +02:00
Sebastian Gniazdowski
956bc3ae56
Improve countdown'' ice.
2020-07-15 14:43:25 +02:00
Sebastian Gniazdowski
404ebdee88
Improve a package-installation message.
2020-07-15 13:06:10 +02:00
Sebastian Gniazdowski
ad0928b3d5
Fix *object-path's AUTO-type call.
2020-07-15 07:40:03 +02:00
Sebastian Gniazdowski
f5313045cc
Make *object-path accept an `AUTO' type causing it to try both (s&p) types.
2020-07-15 07:29:57 +02:00
Sebastian Gniazdowski
c67f58c4e5
Make compile'' support multiple patterns separated via semicolon `;'.
2020-07-15 07:21:36 +02:00
Sebastian Gniazdowski
6e23a5eb2d
Add new colors: {warn},{apo},{ok}.
2020-07-15 07:13:14 +02:00
Sebastian Gniazdowski
1c2d3da430
Uplift *compile-plugin.
2020-07-15 07:12:50 +02:00
Sebastian Gniazdowski
f6dff51a22
FEATURE: A new ice `null' working like as'null', e.g.:
...
zi null sbin"vims" for MilesCranmer/vim-stream
instead of:
zi as"null" sbin"vims" for MilesCranmer/vim-stream
2020-07-15 07:02:21 +02:00
Sebastian Gniazdowski
693edb36e4
FIX the localize-special parameter error #380 .
...
https://mail.google.com/mail/u/0/#label/github/FMfcgxwJWrXJRsTmcdRSjHsqCgZcPhxJ
2020-07-15 04:57:38 +02:00
Sebastian Gniazdowski
63c80c2480
Localize a correct IFS value.
2020-07-14 22:11:54 +02:00
Sebastian Gniazdowski
78a5275fb8
Don't rely on = for whitespace-splitting, use (s: :) instead.
2020-07-14 22:09:15 +02:00
Sebastian Gniazdowski
841da4a346
Fix the storing of ices.
2020-07-14 21:34:10 +02:00
Sebastian Gniazdowski
7427f531b7
Fix an improper substitution done in 0f8882.
2020-07-13 21:21:40 +02:00
Sebastian Gniazdowski
043161c23c
Make the ices respect the order-number given to @zinit-register-annex.
2020-07-13 20:27:34 +02:00
Sebastian Gniazdowski
0f8882ad50
Add %ZPFX shorthand.
2020-07-12 19:56:14 +02:00
Sebastian Gniazdowski
cca5532a25
Update `ls'.
2020-07-12 19:55:44 +02:00
Sebastian Gniazdowski
f6865ac974
Fix creinstall, #379 .
2020-07-12 19:19:20 +02:00
Sebastian Gniazdowski
0b928f8d4c
Remove *shands-expand and optimize *cally-message.
2020-07-11 23:10:59 +02:00
Sebastian Gniazdowski
6130cf8202
Longer snippet ID in messages.
2020-07-11 22:24:26 +02:00
Sebastian Gniazdowski
4aa958b269
Better snippet ID in messages.
2020-07-11 22:23:41 +02:00
Sebastian Gniazdowski
801c62ea4f
Use $REPLY of *path.
2020-07-11 19:11:07 +02:00
Sebastian Gniazdowski
43d1629412
Add a message on snippet being already up to date.
2020-07-11 19:10:14 +02:00
Sebastian Gniazdowski
49ab26e981
Restore the previous snippet-ID shown on install/update.
2020-07-11 19:09:34 +02:00
Sebastian Gniazdowski
bbd8401fa0
Cleanup.
2020-07-11 19:09:19 +02:00
Sebastian Gniazdowski
b8ad88d42a
*autoload: A more recent implementation of .zinit-get-path.
2020-07-11 19:07:39 +02:00
Sebastian Gniazdowski
3d49941324
Utilize $REPLY of *path.
2020-07-11 19:06:58 +02:00
Sebastian Gniazdowski
a733e2362f
Set REPLY in *object-path.
2020-07-11 19:05:39 +02:00
Sebastian Gniazdowski
36f257aac0
Cleanup of *cd.
2020-07-11 19:04:40 +02:00
Sebastian Gniazdowski
7551af69f1
More correct path obtain.
2020-07-11 19:04:05 +02:00
Sebastian Gniazdowski
6058690a68
Cleanup in *uninstall-completions.
2020-07-11 19:03:07 +02:00
Sebastian Gniazdowski
7bdee59a54
Fix a message.
2020-07-10 21:09:10 +02:00
Sebastian Gniazdowski
afe9a0b1c5
Fix compilation of snippets.
2020-07-10 13:54:13 +02:00
Sebastian Gniazdowski
08fb94f428
New colors.
2020-07-10 13:54:13 +02:00
Sebastian Gniazdowski
1d6fbbb8cb
More consistent return from .zinit-first.
2020-07-10 13:54:12 +02:00
Sebastian Gniazdowski
cc9a0672fe
Further optimize .zinit-first.
2020-07-10 13:54:12 +02:00
Sebastian Gniazdowski
71df55c488
Optimize and cleanup .zinit-first.
2020-07-10 13:54:12 +02:00
Sebastian Gniazdowski
4cb75b799c
*object-path now supports %HOME, %SNIPPETS, etc. shorthands.
2020-07-10 13:54:12 +02:00
Sebastian Gniazdowski
c822aca8be
Add %PLUGINS support.
2020-07-10 13:54:12 +02:00
Sebastian Gniazdowski
888b3a8c1c
.zinit-any-to-pid, .zinit-util-shands-path
2020-07-10 13:54:12 +02:00
Sebastian Gniazdowski
3cfbb28f32
Limit localization of the reply params.
2020-07-10 13:54:12 +02:00
Sebastian Gniazdowski
b37aecfc45
Update colors (i.a.: add {ice}).
2020-07-10 13:54:11 +02:00
Sebastian Gniazdowski
3deaaddff6
Add and use {dots} to +zinit-message: 3 dots, Unicode `…' if UTF-locale.
2020-07-10 13:54:11 +02:00
Sebastian Gniazdowski
7dae013626
Improve snippet-preamble installation/update messages.
2020-07-10 13:54:11 +02:00
Sebastian Gniazdowski
012cced313
Improve the plugin-installation preamble message, e.g.: use Unicode
...
ldots `…' if locale are properly set.
2020-07-10 13:54:11 +02:00
Sebastian Gniazdowski
c88677c84c
A nice warncreateglobal trick.
2020-07-10 13:54:11 +02:00
Sebastian Gniazdowski
09e86874c5
NEW: Utilize the 256 color palette for plugin IDs, if available.
2020-07-10 13:54:11 +02:00
Sebastian Gniazdowski
4be0852886
A nicer condition.
2020-07-10 13:54:11 +02:00
Sebastian Gniazdowski
06b715c8e5
IMPORTANT: API change of the annexes – you should update them too and restart the shell.
2020-07-10 13:54:10 +02:00
Sebastian Gniazdowski
decb99c8a5
FIX: the in-zshrc installation of snippets.
2020-07-09 04:27:36 +02:00
Sebastian Gniazdowski
6f827ebe3c
FIX: the in-zshrc installation of Turbo objects.
2020-07-09 04:12:34 +02:00
Sebastian Gniazdowski
72991f18d4
Fix and improve a message.
2020-07-09 04:11:30 +02:00
Sebastian Gniazdowski
f2b835d6cf
Correctly handle non-zero return code from `before-load' hooks.
2020-07-09 03:08:28 +02:00
Sebastian Gniazdowski
c6de771ea5
Run the `before-load' hook also on update of an object.
2020-07-09 02:58:00 +02:00
Sebastian Gniazdowski
864226082b
Better snippet messages during installation and update.
2020-07-09 02:34:39 +02:00
Sebastian Gniazdowski
bf32879bb3
A much more sensible snippet ID shown during installation and update.
2020-07-09 02:33:11 +02:00
Sebastian Gniazdowski
404fedb73b
A new hook-type: `before-load' that allows object-ID unscoping.
2020-07-09 01:57:22 +02:00
Sebastian Gniazdowski
cb86df29af
Make the compinit call after completions' installation faster.
2020-07-09 01:55:47 +02:00
Sebastian Gniazdowski
f73c3e55e4
FIX: no double completion reinstallation after plugin `update' → no lag.
2020-07-09 01:49:44 +02:00
Sebastian Gniazdowski
477280401d
A new ice: `debug' to enable some debug output from e.g.: annexes.
2020-07-08 23:52:47 +02:00
Sebastian Gniazdowski
dffafb2da7
Further undefensive the code.
2020-07-08 23:29:40 +02:00
Sebastian Gniazdowski
0c8b4a1280
Remove an over-defensive code.
2020-07-08 23:21:38 +02:00
Sebastian Gniazdowski
1e944dd031
Remove an empty line.
2020-07-08 19:26:34 +02:00
Sebastian Gniazdowski
e03c38c57f
Reformat the color-hash definition into multiple columns.
2020-07-08 19:25:13 +02:00
Sebastian Gniazdowski
bad2b97873
Tweak the colors (add new ones: var, glob, cmd).
2020-07-08 19:20:10 +02:00
Sebastian Gniazdowski
460ddb2c9c
Fine tune the package-installation messages.
2020-07-08 19:19:33 +02:00
Sebastian Gniazdowski
b825695113
Improve messages for package installations (zinit pack for …).
2020-07-08 18:54:35 +02:00
Sebastian Gniazdowski
d5a8905d1e
Extend the annex architecture – pass the context-subtype to the hook.
2020-07-08 18:20:46 +02:00
Sebastian Gniazdowski
a3dbe5cbfe
silent'' mutes the `Snippet not loaded' error message.
2020-07-08 18:02:33 +02:00
Sebastian Gniazdowski
2d4dc4f9da
Remove an unneeded unset of subscribe''.
2020-07-08 17:17:19 +02:00
Sebastian Gniazdowski
f7c343bf7a
zinit: Don't load wait'' from disk.
2020-07-08 15:46:06 +02:00
Sebastian Gniazdowski
cb777034fc
zinit: Mute a warncreateglobal warning.
2020-07-08 15:13:52 +02:00
Sebastian Gniazdowski
eaf4965ded
FIX: no empty plugin being left when the clone fails.
2020-07-08 14:50:08 +02:00
Sebastian Gniazdowski
03448477a3
Add a comment.
2020-07-08 14:49:53 +02:00
Sebastian Gniazdowski
27d1b66ab2
FIX: prevent interactive double-installation of wrongly entered plugins.
2020-07-08 14:44:14 +02:00
Sebastian Gniazdowski
58f9aa3bb3
Switch from two integers into the pull-active flag for handling updates.
2020-07-08 14:14:45 +02:00
Sebastian Gniazdowski
5d2084234a
zinit: Fix the loading of disk ices.
2020-07-08 11:18:15 +02:00
Sebastian Gniazdowski
a55f70afb9
Exclude *.ps1 files from the files seen as completions.
2020-07-08 10:42:02 +02:00
Sebastian Gniazdowski
d061fe8d1b
Simpler globs.
2020-07-08 10:39:55 +02:00
Sebastian Gniazdowski
ac3682e2f8
Optimize ps-on-update'' hook.
2020-07-07 20:35:15 +02:00
Sebastian Gniazdowski
509df50a67
Optimize atpull hook.
2020-07-07 20:34:42 +02:00
Sebastian Gniazdowski
a017da86ac
Optimize !atpull hook.
2020-07-07 20:32:04 +02:00
Sebastian Gniazdowski
b36f98d554
Respect reset'' contents for Git plugins.
2020-07-07 20:31:02 +02:00
Sebastian Gniazdowski
d5d6100ffb
Optimize compile hook.
2020-07-07 20:07:43 +02:00
Sebastian Gniazdowski
c2ff99ce57
Optimize mv and cp hooks.
2020-07-07 20:05:19 +02:00
Sebastian Gniazdowski
44adcdf8bb
Fix +zinit-message invocation.
2020-07-07 19:29:13 +02:00
Sebastian Gniazdowski
4d8f292812
zinit: Fix +zinit-message.
2020-07-07 19:27:53 +02:00
Sebastian Gniazdowski
88765943ba
Fix nocompile ice.
2020-07-06 22:13:20 +02:00
Sebastian Gniazdowski
c96d0f05b4
Respect the nocompletions' and as'null' ices for update' #377 .
2020-07-06 21:41:25 +02:00
Sebastian Gniazdowski
d4beb8db41
Improve ziextract's messages.
2020-07-06 21:38:36 +02:00
Sebastian Gniazdowski
8078604f04
Fix snippet updating - for non-github, regular URLs the snippet will not
...
always redownload (depending on the remote mtime).
2020-07-06 21:21:43 +02:00
Sebastian Gniazdowski
88f196a855
print → +zinit-message
2020-07-06 21:21:17 +02:00
Sebastian Gniazdowski
b21762a623
Simplify mv'' and cp'' hooks.
2020-07-06 19:23:21 +02:00
Sebastian Gniazdowski
e3252dea71
Simplify extract'' hook.
2020-07-06 19:16:46 +02:00
Sebastian Gniazdowski
f84a4b5118
Can use ZINIT_ICE.
2020-07-06 19:16:19 +02:00
Sebastian Gniazdowski
64e558ccc3
Really fix the make hook.
2020-07-06 13:28:32 +02:00
Sebastian Gniazdowski
6b3b821641
Rewrite atclone hook.
2020-07-06 13:06:23 +02:00
Sebastian Gniazdowski
ad324236da
Don't add unnecessary entries to path.
2020-07-06 10:00:05 +02:00
Sebastian Gniazdowski
18119a8927
Fix a math expression error.
2020-07-06 07:35:57 +02:00
Sebastian Gniazdowski
b55ff297f7
More compact hook preamble.
2020-07-06 07:31:10 +02:00
Sebastian Gniazdowski
dbd55e6de1
Fix hook-function name.
2020-07-05 22:31:54 +02:00
Sebastian Gniazdowski
870ab0dc8b
A more generic make'' implementation.
2020-07-05 22:30:42 +02:00
Sebastian Gniazdowski
10676dd295
Cleanup of the result-holding arrays related code.
2020-07-05 16:27:06 +02:00
Sebastian Gniazdowski
54363e33a8
Introducing a new annex/zinit hook argument: a subtype, that denotes the
...
place where the hook is being invoked. Currently only for hook:preinit.
2020-07-05 15:14:12 +02:00
Sebastian Gniazdowski
ec8a0a5a9f
zinit: A small cleanup.
2020-07-05 15:12:52 +02:00
Sebastian Gniazdowski
aa5a2ce8cc
Fix a typo.
2020-07-05 05:03:36 +02:00
Sebastian Gniazdowski
247f5bc926
Extend comments.
2020-07-05 05:03:04 +02:00
Sebastian Gniazdowski
58c85bf5cf
Allow compiling gh-r plugins e.g.: with compile'' ice.
2020-07-05 04:45:24 +02:00
Sebastian Gniazdowski
e17a42eccc
Improve compile'' handling.
2020-07-05 04:36:55 +02:00
Sebastian Gniazdowski
f9fb6ffae3
A better syntax.
2020-07-05 04:36:07 +02:00
Sebastian Gniazdowski
1b1fb6f87e
Extend comments.
2020-07-05 04:34:21 +02:00
Sebastian Gniazdowski
ed5864a488
Finished a completely fresh, elastic architecture.
2020-07-04 22:12:43 +02:00
Sebastian Gniazdowski
d5321e0b84
Don't run the reset'' code when there's no file.
2020-07-04 21:23:39 +02:00
Sebastian Gniazdowski
ce53848800
Fix some comments.
2020-07-04 21:23:15 +02:00
Sebastian Gniazdowski
e42eaa4d32
Extended atdelete hook processing.
2020-07-04 21:22:06 +02:00
Sebastian Gniazdowski
7a9151e886
Remove @ from ${(@on)….
2020-07-04 21:21:27 +02:00
Sebastian Gniazdowski
464eb23dc7
Work in progress – a major cleanup.
2020-07-04 21:20:24 +02:00
Sebastian Gniazdowski
59340b01a1
Work in progress: Extended preinit annex-hook processing.
2020-07-04 21:10:25 +02:00
Sebastian Gniazdowski
87f17fa902
Correct ID processing.
2020-07-04 21:07:00 +02:00
Sebastian Gniazdowski
fbf9a0a5a5
Improve the compile'' ice.
2020-07-04 21:05:21 +02:00
Sebastian Gniazdowski
511e9e79bc
Work in progress (the major cleanup) – small side-task: improve messages
2020-07-04 19:52:08 +02:00
Sebastian Gniazdowski
7bbd0200c7
Improve the messages and logic of reset-hook.
2020-07-04 18:21:41 +02:00
Sebastian Gniazdowski
eb810d7953
Work in progress – the cleanup.
2020-07-04 11:54:18 +02:00
Sebastian Gniazdowski
45705a1049
Set the pull-active flag for file-snippets.
2020-07-04 11:30:52 +02:00
Sebastian Gniazdowski
c732437cbd
Better messages on file snippets.
2020-07-04 11:30:17 +02:00
Sebastian Gniazdowski
8a4e3d924a
Work in progress: The code uplift via hooks-mechanism
2020-07-04 07:54:54 +02:00
Sebastian Gniazdowski
4236d9769e
Work in progress – the major cleanup in the hook-related code.
2020-07-04 06:20:06 +02:00
Sebastian Gniazdowski
8ae687506d
Run `rehash' after any initial download and after the parallel update.
2020-07-04 05:09:49 +02:00
Sebastian Gniazdowski
5450909912
ZINIT[col-msg1 → col-msg] plus related print → +zinit-message changes
2020-07-04 03:50:33 +02:00
Sebastian Gniazdowski
c892ae55e0
A few print → +zinit-message conversions
2020-07-04 00:49:23 +02:00
Sebastian Gniazdowski
f73b2f94bf
autoload: Feature – allow automating: yes | zi delete …
2020-06-29 15:21:47 +02:00
Sebastian Gniazdowski
17bc4cbb24
install: Change narrowing to *.rpm
2020-06-29 15:06:51 +02:00
Sebastian Gniazdowski
c95c0cc5a9
zinit,autoload: One global variable less
2020-06-28 13:57:32 +02:00
Sebastian Gniazdowski
fd1e2f5df6
install: Don't create the failed snippets #370
2020-06-28 11:22:52 +02:00
Sebastian Gniazdowski
5c5dcb32f7
install: Add `command' prefix
2020-06-28 11:21:59 +02:00
Sebastian Gniazdowski
f05f6fd07b
README.md
2020-06-25 17:25:12 +02:00
Sebastian Gniazdowski
1cad6df5e5
zinit: FEATURE – ability to invoke autoloaded function: autoload'#fun'
...
– by prefixing it with the hash. So that it's possible to invoke e.g.:
zinit autoload'#manydots-magic' for knu/zsh-manydots-magic
instead of:
zinit autoload'manydots-magic' atload'manydots-magic' for \
knu/zsh-manydots-magic
2020-06-25 17:22:40 +02:00
Sebastian Gniazdowski
b01530ac2c
install: MSYS support
2020-06-24 15:39:27 +02:00
Sebastian Gniazdowski
74da00c54c
doc/install.sh: Install z-a-rust
2020-06-24 15:12:28 +02:00
Sebastian Gniazdowski
38389d9381
*install: Fix a syntax
2020-06-24 12:48:05 +02:00
Sebastian Gniazdowski
d9edce115a
install: Fix the from=gh-r for Windows, it could download OS X binaries
2020-06-23 15:56:25 +02:00
Sebastian Gniazdowski
e53c6878b9
zinit: Fix indentation
2020-06-20 21:39:19 +02:00
Sebastian Gniazdowski
3055bd8e8c
zinit,install: Update the colors
2020-06-20 21:38:08 +02:00
Sebastian Gniazdowski
5e06cd3c06
README.md
2020-06-20 21:35:22 +02:00
Sebastian Gniazdowski
a44ca75419
doc/img/m.png
2020-06-20 21:16:54 +02:00
Sebastian Gniazdowski
25a13f75e4
zinit: Improve +zinit-message
2020-06-20 17:13:33 +02:00
Sebastian Gniazdowski
754aae4c27
zinit: Improve +zinit-message
2020-06-20 17:11:30 +02:00
Sebastian Gniazdowski
6d8cb156a4
zinit: Improve +zinit-message
2020-06-20 16:58:48 +02:00
Sebastian Gniazdowski
95415bb31d
all: Change [code] to {code} in +zinit-message and in `m'
2020-06-20 15:57:19 +02:00
Sebastian Gniazdowski
3a1576d362
README.md
2020-06-20 05:02:59 +02:00
Sebastian Gniazdowski
a2c52d6e59
autoload: Add a newline
2020-06-20 03:30:42 +02:00
Sebastian Gniazdowski
590217af27
*install: Feature - all (cURL) progress bars are guaranteed single line
2020-06-20 03:13:23 +02:00
Sebastian Gniazdowski
18e95b5012
share/single-line.zsh
2020-06-20 03:02:02 +02:00
Sebastian Gniazdowski
a0cdf6b5c0
zinit,install: Better messages
2020-06-19 14:17:55 +02:00
Sebastian Gniazdowski
3bfdf99a67
install: Better message
2020-06-19 14:14:16 +02:00
Sebastian Gniazdowski
16c08431a6
*install: Improve the file downloadings
2020-06-18 17:58:36 +02:00
Sebastian Gniazdowski
45a908ec41
zinit: Fix the is-snippet condition #362
2020-06-18 16:57:55 +02:00
Sebastian Gniazdowski
f21508259c
install: Better invocation of chmod.
2020-06-17 22:37:11 +02:00
Sebastian Gniazdowski
74d6200c83
README.md
2020-06-17 22:36:27 +02:00
Sebastian Gniazdowski
96d1c0c3db
README.md
2020-06-17 22:26:55 +02:00
Sebastian Gniazdowski
1ec9c7a144
*install: Abort when the extracting tool isn't found
2020-06-17 22:21:26 +02:00
Sebastian Gniazdowski
38c619c6da
*install: Safer DMG extracting
2020-06-17 22:20:12 +02:00
Sebastian Gniazdowski
c1163ff3ab
*install: FEATURE – support Windows installers in extract''/ziextract
2020-06-17 22:18:12 +02:00
Sebastian Gniazdowski
0ca3da3cca
install: print → +zinit-message
2020-06-17 18:12:56 +02:00
Sebastian Gniazdowski
0729a2414a
zinit: Try to properly implement loading of disk ices #362 , #363 , #364
2020-06-17 17:16:25 +02:00
Sebastian Gniazdowski
440d847aa5
Revert "zinit: Try to properly implement the loading of the disk ices #363 "
...
This reverts commit 59a651020c .
Issues #362 , #363 , #364
2020-06-17 17:09:36 +02:00
Sebastian Gniazdowski
dd2825b7c7
zinit: Improve *get-object-path #363 , #364
2020-06-16 18:44:16 +02:00
Sebastian Gniazdowski
1d9a112438
*autoload: Checkout master' on self-update'
2020-06-16 18:34:05 +02:00
Sebastian Gniazdowski
59a651020c
zinit: Try to properly implement the loading of the disk ices #363
2020-06-16 18:27:35 +02:00
Sebastian Gniazdowski
82afb3981d
Revert "zinit: Correctly load the disk ices"
...
This reverts commit ca6083a64d .
2020-06-16 17:56:43 +02:00
Sebastian Gniazdowski
15b118144e
zinit: Improve *any-to-user-plugin
2020-06-14 16:12:48 +02:00
Sebastian Gniazdowski
7c2e9583c6
*autoload: Reinstall completions on non-empty update of a plugin
2020-06-13 12:46:22 +02:00
Sebastian Gniazdowski
c32776ef6d
*install: print → +zinit-message
2020-06-13 12:30:04 +02:00
Sebastian Gniazdowski
92c3af1d61
*autoload: Change syntax
2020-06-13 11:27:06 +02:00
Sebastian Gniazdowski
22bdc496c0
*install: Update
2020-06-13 11:05:41 +02:00
Sebastian Gniazdowski
ca6083a64d
zinit: Correctly load the disk ices
2020-06-13 08:49:58 +02:00
Sebastian Gniazdowski
e872b50c18
zinit: Change syntax
2020-06-13 08:47:38 +02:00
Sebastian Gniazdowski
4de9820397
zinit: Restore proper hook calling for plugins
2020-06-13 06:50:10 +02:00
Sebastian Gniazdowski
d9c78ad124
*additional: Add support for => to *setup-params
2020-06-13 06:00:07 +02:00
Sebastian Gniazdowski
73ebeb5dc5
zinit: Use the snippet shorthand URLs without redirections
2020-06-13 02:56:06 +02:00
Sebastian Gniazdowski
f68bb3eea4
README.md
2020-06-13 01:53:34 +02:00
Sebastian Gniazdowski
0f05076c44
README.md
2020-06-13 01:52:57 +02:00
Sebastian Gniazdowski
b384d8cbf5
README.md
2020-06-13 01:50:38 +02:00
Sebastian Gniazdowski
da257596e5
*install: FEATURE – `ziextract' has --move2 option, which moves files two
...
levels up. E.g.: if there will be a dir: Pulumi/bin/{pulumi,pulumi2},
then after `ziextract' there will be: ./{pulumi,pulumi2}. To obtain the
same effect using the extract'' ice, pass two exclamation marks, i.e.:
extract'!!'. A real-world example:
zi id-as'pulumi' as'monitor|null' mv'pulumi pulumi_' extract'!!' \
dlink='https://get.pulumi.com/releases/sdk/pulumi-%VERSION%-windows-x64.zip ' \
sbin'pulumi*' for \
https://www.pulumi.com/docs/get-started/install/versions/
2020-06-13 01:43:47 +02:00
Sebastian Gniazdowski
72d528ed05
*autoload: Invoke the atdelete handlers on `delete --clean' #319
2020-06-13 00:49:14 +02:00
Sebastian Gniazdowski
b684c3f8af
zinit: Correct option computation
2020-06-12 22:48:03 +02:00
Sebastian Gniazdowski
97826d4d36
README.md
2020-06-12 22:39:02 +02:00
Sebastian Gniazdowski
b9daefeaff
zinit,*autoload: FEATURE – new options to `update': -s/--snippets and
...
-l/--plugins – they're limiting the `update --all' to only plugins or
snippets. Example:
zinit update --plugins
Works also with -p/--parallel.
2020-06-12 22:35:30 +02:00
Sebastian Gniazdowski
45fd8c8358
*install: Make ziextract --move better working
2020-06-12 18:44:12 +02:00
Sebastian Gniazdowski
86c0a51283
*autoload: Restore snippets for update -p
2020-06-12 18:10:02 +02:00
Sebastian Gniazdowski
0a7d9d1465
install: Alternate syntax
2020-06-12 18:09:39 +02:00
Sebastian Gniazdowski
9db192db79
zinit: Alternate syntax
2020-06-11 13:55:19 +02:00
Sebastian Gniazdowski
4eefbe79ba
README.md
2020-06-11 13:43:38 +02:00
Sebastian Gniazdowski
0ff0c7855c
Revert "all: Alternate syntax"
...
This reverts commit 611aa3f5e6 .
2020-06-10 18:58:11 +02:00
Sebastian Gniazdowski
4bf80a891b
zinit: Fix has'' ice #352
2020-06-10 18:16:00 +02:00
Sebastian Gniazdowski
611aa3f5e6
all: Alternate syntax
2020-06-10 17:05:15 +02:00
Sebastian Gniazdowski
279321d512
all: Correct print → builtin print
2020-06-06 16:43:34 +02:00
Sebastian Gniazdowski
9352ffe864
all: print → builtin print
2020-06-06 15:07:08 +02:00
Sebastian Gniazdowski
0baf19c7b0
*autoload: Update a message
2020-06-06 14:48:39 +02:00
Sebastian Gniazdowski
bbe81ad3fa
*install: Change mirror
2020-06-06 14:47:11 +02:00
Sebastian Gniazdowski
9ff614d1a7
zinit: Add the missing pullopts'' ice
2020-06-05 16:55:51 +02:00
Sebastian Gniazdowski
421c0b08c7
*autoload: Feature – new ice pullopts'' – options passed to git pull
...
Also solve the rebase-warning appearing under git 2.27 (#355 ).
2020-06-05 16:44:15 +02:00
Sebastian Gniazdowski
29087801eb
*autoload: Fix a syntax
2020-06-05 16:26:21 +02:00
Sebastian Gniazdowski
2797549d24
*install: Fix completion-snippets updating #328
2020-06-01 13:18:24 +02:00
Sebastian Gniazdowski
aab8010751
*autoload: Make INSTLLED_COMPS, SKIPPED_COMPS non-empty on plugin update
...
Issue #321
2020-05-30 19:18:33 +02:00
Sebastian Gniazdowski
ee12924b1d
*install: Ensure that Git progress-bar tool will correctly run
2020-05-30 19:14:21 +02:00
Sebastian Gniazdowski
51899ce985
*autoload: Alternate syntax in one place
2020-05-30 19:12:18 +02:00
Sebastian Gniazdowski
0b9d05ae8e
*install: Fix the installed-execs message
2020-05-30 18:25:25 +02:00
Sebastian Gniazdowski
a07a1817d2
*install: Fix a syntax
2020-05-30 17:59:40 +02:00
Sebastian Gniazdowski
7910e244bd
zinit: Feature – allow multiple has'' elements – all commands required
...
Issue #351
2020-05-30 17:26:46 +02:00
Sebastian Gniazdowski
6d3be43d6b
*install: print → +zinit-message in one place
2020-05-30 16:47:19 +02:00
Sebastian Gniazdowski
5ab08f4f43
*install: Alternate syntax
2020-05-29 16:12:33 +02:00
Sebastian Gniazdowski
20ee6ac334
*install,*autoload: No quoting of string argument in invocation of hooks
2020-05-27 05:25:46 +02:00
Sebastian Gniazdowski
e0103d4a85
*autoload: Correctly mark the update status for gh-r plugins
2020-05-27 05:18:53 +02:00
Sebastian Gniazdowski
e445c444a3
*install: More better messages in ziextract
2020-05-27 05:18:33 +02:00
Sebastian Gniazdowski
cf5a9212e0
*install: Improve messages in ziextract
2020-05-27 04:47:04 +02:00
Sebastian Gniazdowski
a7f2d14b48
*install: Better messages in ziextract
2020-05-27 04:43:37 +02:00
Sebastian Gniazdowski
de7ebf35bd
*install: Allow empty argument list to zicp' and zimv' → zicp \* → .
2020-05-27 01:35:37 +02:00
Sebastian Gniazdowski
2be7544d59
zinit: Add $ZPFX/usr/{sbin,bin} to $path
2020-05-27 01:30:37 +02:00
Sebastian Gniazdowski
1a4d1c938e
zinit: Feature: A new function `@autoload' which is an extension of the
...
plugin standard. It allows plugins to autoload any functions without
extending $fpath and with the rename feature, e.g.:
@autoload function-file-A → my-function \
funB '->' funC
The syntax is the same as in autoload'' ice.
2020-05-27 01:07:39 +02:00
Sebastian Gniazdowski
7352aaac70
*install: Allow zicp' and zimv' to "map" the directories onto existing
2020-05-27 00:48:48 +02:00
Sebastian Gniazdowski
bc04807e2e
*install: Localize variables
2020-05-27 00:46:51 +02:00
Sebastian Gniazdowski
86407c46ad
*install: Update a message
2020-05-26 19:41:02 +02:00
Sebastian Gniazdowski
9768fce460
*install: Allow quoting of the non-breaking space in extract''
2020-05-24 10:45:40 +02:00
Sebastian Gniazdowski
37c3f75b51
zinit: Filter out -- from the arguments of autoload
2020-05-20 08:49:21 +02:00
Sebastian Gniazdowski
3a8049e630
*install: Fix extract''/ziextract #340
2020-05-20 05:31:00 +02:00
Sebastian Gniazdowski
aa3beb1722
zinit,*install: FEATURE: zicm and zimv functions for atclone''/atpull''
...
usage. Use them to install files and directories into $ZPFX or another
directory. Example:
zi make'!' atclone'zicp share bin/fzf → bin usr -> /usr/local' for junegunn/fzf
Without an arrow (→,-> or =>) copies into the same directory in $ZPFX,
i.e.: `share' onto `$ZPFX/share' in the example. With an arrow –
into the given directory. Supports also file names with spaces – use the
non-breaking space (Right–AltGr + Space) in place of the intended space.
2020-05-19 10:16:45 +02:00
Sebastian Gniazdowski
98c120db64
install.sh: Reorder the annexes
2020-05-15 10:52:47 +02:00
Sebastian Gniazdowski
bddf9896b7
README.md
2020-05-15 10:51:37 +02:00
Sebastian Gniazdowski
10596f3db4
zinit: FEATURE – autoload'funA -> funB' to load/rename funA as funB
2020-05-15 10:50:20 +02:00
Sebastian Gniazdowski
f7756b4c26
zinit: autoload'' can *rename* the funs, e.g.: autoload'funA -> funB'
...
to load the function/file `funA' as function `funB'. Also, alternate,
"manual" loading method – via: eval "$(<func-file)" – has been exposed,
to use it, precede the ice with exclamation mark, i.e.: autoload'!funA'.
2020-05-15 10:37:53 +02:00
Sebastian Gniazdowski
ceaf0b86e9
*install: Fine-tune messages in Cygwin package downloading
2020-05-15 05:42:34 +02:00
Sebastian Gniazdowski
fedd94db2d
zinit: Update color palette
2020-05-15 05:41:39 +02:00
Sebastian Gniazdowski
2e3c1a476e
zinit.zsh: Update color palette
2020-05-15 05:36:48 +02:00
Sebastian Gniazdowski
1cfc98ba34
zinit: Update color palette
2020-05-15 05:33:12 +02:00
Sebastian Gniazdowski
2212b2e214
zinit: Update color palette
2020-05-15 05:28:06 +02:00
Sebastian Gniazdowski
b5271d02df
*install: Increase Cygwin-packages robustness
2020-05-15 02:18:51 +02:00
Sebastian Gniazdowski
8b6d011ce1
*install: Correct nonexistent Cygwin-package handling
2020-05-15 01:58:13 +02:00
Sebastian Gniazdowski
76f63c0bb1
*install: Make the plugin-directory cleanup more `insisting'
2020-05-15 01:57:04 +02:00
Sebastian Gniazdowski
d9d3271570
*install: Initialize REPLY with empty value
2020-05-15 01:53:57 +02:00
Sebastian Gniazdowski
af9db4d3c8
*install: A more straightforward way of a function cleanup
2020-05-15 01:53:23 +02:00
Sebastian Gniazdowski
99f58796f4
*install: File downloads now show the cURL progress bar
2020-05-15 01:47:04 +02:00
Sebastian Gniazdowski
7af1b3c886
*install: Allow interrupting package downloads, clenup unsuccessful ones
2020-05-15 01:41:13 +02:00
Sebastian Gniazdowski
844af5ee45
*install: Allow interrupting plugin downloads, cleanup on unsuccessful ones
2020-05-15 01:34:03 +02:00
Sebastian Gniazdowski
d38bfb1eb1
*install: Finally resolve the download progress-bar issues
2020-05-14 22:40:30 +02:00
Sebastian Gniazdowski
8b71166380
*install: Correct progress bar showing during Curl invocation
2020-05-14 18:03:29 +02:00
Sebastian Gniazdowski
ffca5f8cc5
zinit: Add a color to a message
2020-05-14 14:09:36 +02:00
Sebastian Gniazdowski
7616aa5a4b
*install: Make `creinstall -q .' run correctly #321
2020-05-14 14:07:51 +02:00
romkatv
2b02f17592
hide internal function arguments from sourced scripts
...
When manually sourcing a file from `.zshrc`, `$@` is empty during
the evaluation of the file. However, when sourcing the same file
via `zinit snippet`, `zinit light` or `zinit load`, `$@` are those
of the internal `zinit` function that happens to invoke `source`.
This PR sets `$@` to empty before sourcing scripts to make sourcing
of files via `zinit` consistent with manual sourcing.
Test case:
% cat ~/.zshrc
source ~/.zinit/bin/zinit.zsh
source ~/plugin.zsh
zinit snippet ~/plugin.zsh
% cat ~/plugin.zsh
print -lr -- start "$@" end
Without this commit:
% zsh
start
end
start
/home/romka/plugin.zsh
end
With this commit:
% zsh
start
end
start
end
Motivation:
Some zsh scripts allow additional arguments to be passed when they
are being sourced.
source ~/plugin.zsh foo bar
Sourcing such scripts via `zinit` is currently impossible. It would
be perfect if `zinit` allowed custom arguments to be passed to
sourced scripts. This PR doesn't go that far but at least it allows
passing no arguments.
2020-05-13 09:42:37 +02:00
Mykola Rybak
09b78e9646
Fix completions installation condition
...
Recently zinit started installing completions event if nocompletions
ice is specified. This seems to be related to recent commit
a46f97e8c3
With that change, if either nocompletions or as"null" ices are not
specified than completions are installed, so to avoid completions
installation one has to specify both nocompletions _and_ as"null".
This commit changes logic to be equivalent to what was before.
2020-05-13 09:13:51 +02:00
Sebastian Gniazdowski
c3bed8337f
*side,*autoload: Handle the multiple bpick'' during update #334
2020-05-12 19:29:59 +02:00
Sebastian Gniazdowski
c6ce7b0413
README.md
2020-05-12 16:19:08 +02:00
Sebastian Gniazdowski
726aa8ea19
*additiona: FEATURE – ability to substitute stringA -> stringB in plugin
...
source body before executing by subst'A -> B'. Work also for any nested
`source' commands. Example – rename the dl'' ice into a dload'' ice in
the Patch-Dl annex:
zi subst"dl'' -> dload''" for zinit-zsh/z-a-patch-dl
2020-05-12 16:09:03 +02:00
Sebastian Gniazdowski
7528ac820b
zinit: Three new colors
2020-05-12 14:54:45 +02:00
Sebastian Gniazdowski
701b95af81
*side,*autoload: Support updating multi-bpick from"gh-r" plugins
2020-05-12 14:49:48 +02:00
Sebastian Gniazdowski
db380e4bf8
autoload: Compile zinit-additional.zsh
2020-05-12 14:48:54 +02:00
Sebastian Gniazdowski
b30ec15cf9
additinal: Add zinit-additional.zsh
2020-05-12 14:47:30 +02:00
Sebastian Gniazdowski
391f25e949
zinit: Create zinit-additional.zsh
2020-05-12 14:47:03 +02:00
Sebastian Gniazdowski
688fef86ac
zinit: Silence warnings from unfunction
2020-05-12 14:29:04 +02:00
Sebastian Gniazdowski
d828a87e9b
zinit: Preliminary support for substitutions
2020-05-11 11:36:28 +02:00
Sebastian Gniazdowski
fcff4a8f17
zinit: FEATURE – a new ice autoload'' which invokes `autoload -Uz …' on
...
the given files/functions. Example – a plugin that converts cd ... into
cd ../..:
zinit autoload'manydots-magic' atload'manydots-magic' for \
knu/zsh-manydots-magic
2020-05-10 13:29:28 +02:00
Sebastian Gniazdowski
f124600b5d
zinit: Fix autoload -w
2020-05-10 11:35:53 +02:00
Sebastian Gniazdowski
1fd93ff28e
zinit: Update Zle hooks list
2020-05-10 05:34:21 +02:00
Sebastian Gniazdowski
62a45647a6
README.md
2020-05-09 19:16:00 +02:00
Sebastian Gniazdowski
bb41c7986a
zinit: FEATURE – a new ice opts'' which takes options to sticky-set
...
during sourcing of the plugin. This means that thee options will be also
set for all of the *functions* that the plugin defines – during their
execution. The option list is space separated.
2020-05-09 18:55:42 +02:00
Sebastian Gniazdowski
a6f6b8bbfc
Revert "zinit: Increase noaliases-option handling correctness"
...
This reverts commit 0f81a7684d .
Issue #331
2020-05-09 18:02:20 +02:00
Sebastian Gniazdowski
0f81a7684d
zinit: Increase noaliases-option handling correctness
2020-05-09 16:22:17 +02:00
Sebastian Gniazdowski
639e3e53ad
zinit,*install: Feature: `creinstall' has -Q option muting ALL output
...
Issue #326
2020-05-09 15:44:05 +02:00
Sebastian Gniazdowski
e452ea144c
README.md
2020-05-09 15:28:14 +02:00
Sebastian Gniazdowski
90c6d55301
*install: Better method of quoting a string
2020-05-09 15:06:35 +02:00
Sebastian Gniazdowski
606c1b91ca
*install: React to more interruption signals
2020-05-09 15:02:55 +02:00
Sebastian Gniazdowski
f32ef2468b
*install: Try to remove the plugin/snippet dir upon interruption
2020-05-09 15:01:33 +02:00
Sebastian Gniazdowski
b94bb051af
*install: FEATURE: download multiple files from gh-r by bpick"pat1;pat2"
...
or specifying the bpick-ice multiple times. Issue #330 .
2020-05-09 12:31:31 +02:00
Sebastian Gniazdowski
532b533d41
install: Better gh-r matching for ARM and Windows
2020-05-09 12:30:35 +02:00
Sebastian Gniazdowski
b8b3ad2a4b
*side,*install,*autoload: __VAR -> ___VAR
2020-05-09 12:29:55 +02:00
Sebastian Gniazdowski
788ca4989b
zinit: Remove unneeded spaces
2020-05-09 12:28:07 +02:00
Sebastian Gniazdowski
9004dfa4f8
zinit: Increase the length of the underscore prefix from __ to ___ #329
2020-05-08 21:18:53 +02:00
Sebastian Gniazdowski
eb825f6fea
zinit: Hide three functions' local variables with `__...' prefix #329
2020-05-08 20:46:52 +02:00
Sebastian Gniazdowski
4c2d27b681
*install: Select a better mirror at first (from"cygwin")
2020-05-08 12:30:55 +02:00
Sebastian Gniazdowski
a81b97037f
README.md
2020-05-06 18:32:16 +02:00
Sebastian Gniazdowski
223fa78d04
*install: Download Cygwin package once
2020-05-06 18:30:40 +02:00
Sebastian Gniazdowski
fa931205a0
*install: Nicer progress bar
2020-05-06 15:55:12 +02:00
Sebastian Gniazdowski
a8d0c77f24
*install: Correct curl and wget invocation
2020-05-06 15:46:55 +02:00
Sebastian Gniazdowski
29b1031fa9
*install,*autoload: FEATURE: from"cygwin" that downloads and unpacks the
...
given Cygwin package, from a random Cygwin mirror. Example:
zinit from"cygwin" for gzip
Or a more real-world example that includes exposing the binary using the
Bin-Gem-Node annex:
zinit from"cygwin" sbin"usr/bin/gzip.exe -> gzip" for gzip
2020-05-06 15:33:52 +02:00
Sebastian Gniazdowski
ad9ece5331
all: Extend vim modeline
2020-05-06 14:34:34 +02:00
Sebastian Gniazdowski
930d12ef99
zinit: Change color
2020-05-06 14:30:11 +02:00
Sebastian Gniazdowski
5a420aa3cd
zinit: Use *message in a few places
2020-05-06 14:28:40 +02:00
Sebastian Gniazdowski
da23b0a45e
zinit: Improve *message
2020-05-06 14:27:45 +02:00
Sebastian Gniazdowski
394a89ebd2
*install,*autoload: Trailing spaces and alternate syntax
2020-05-06 14:26:30 +02:00
Sebastian Gniazdowski
994c2cfc83
*install: A better machine-type recognition for from"gh-r" #318
2020-05-06 14:23:32 +02:00
Sebastian Gniazdowski
357996708a
*install: Improve the download function
2020-05-06 14:21:35 +02:00
Sebastian Gniazdowski
6d4ba4add2
zinit,*install,*autoload: Remove trailing spaces
2020-05-06 14:16:51 +02:00
Sebastian Gniazdowski
ff12246fb4
README.md
2020-04-21 21:08:31 +02:00
Sebastian Gniazdowski
c5741c7e87
README.md #312
2020-04-21 21:08:04 +02:00
Sebastian Gniazdowski
3448a1be87
zinit: Include the cloneopts ice in the non-value ice list #312
2020-04-21 21:03:16 +02:00
Sebastian Gniazdowski
9c353e32c2
*install: Allow empty cloneopts to disable recursive clone #312
2020-04-21 21:03:16 +02:00
David O'Trakoun
29680bd9b3
Don't clone git-open recursively
...
git-open includes its test framework, don't need it
2020-04-21 20:59:17 +02:00
Sebastian Gniazdowski
fbc77d9985
*install: Filter out .asc files #311
2020-04-20 19:03:01 +02:00
Sebastian Gniazdowski
ff859ff375
zinit: Resolve the lack of posixargzero on 5.0.2 #310
2020-04-19 18:22:48 +02:00
Sebastian Gniazdowski
ec3ba307d8
*autoload: Display the duration of the update
2020-04-19 02:31:37 +02:00
Sebastian Gniazdowski
bbc19fb119
*autoload: A few print → +zinit-message
2020-04-19 02:30:51 +02:00
Sebastian Gniazdowski
80f03b263a
*autoload: Correct handling of paths with spaces #309 , #223
2020-04-18 18:20:22 +02:00
Sebastian Gniazdowski
a40f7943cd
zinit: Better reloading support
2020-04-18 17:35:04 +02:00
Sebastian Gniazdowski
7ed6ab9dc5
zinit: FEATURE – a function `m' available during loading of the plugin
...
or snippet. It works like `print' with colorizing features – [key] are
replaced with $ZINIT[col-key] values, which are in general colors. You
can define your own $ZINIT keys or use some of the default ones: obj,
obj2, pre, file, uname, pname, keyword, error, success, failure, info,
info2, msg1, msg2, rst. Example: m 'This is a [file]./file/path[rst].'.
You can use this function inside e.g.: atinit'' or atload'', etc.
2020-04-18 17:22:27 +02:00
Sebastian Gniazdowski
a443629f9c
*autoload: Add an empty line
2020-04-18 13:43:36 +02:00
Sebastian Gniazdowski
384cd76947
*install: Use emulate instead of setopt
2020-04-18 13:42:33 +02:00
Sebastian Gniazdowski
4e9df68ca5
*install,*autoload: Fix compinit calling when `update -p' #284
2020-04-18 13:41:23 +02:00
Sebastian Gniazdowski
a44bdd05a2
*autoload: Fix a pattern
2020-04-17 18:00:53 +02:00
Sebastian Gniazdowski
c4e9008df5
*autoload: Make `delete --all' work #306
2020-04-17 18:00:20 +02:00
Sebastian Gniazdowski
fe70012a1c
*install: Prefer tar.gz over deb/rpm if dpkg-deb/cpio aren't available
...
Issue #307
2020-04-17 17:50:20 +02:00
Sebastian Gniazdowski
ff084fd69f
*install: Alternate syntax in one place
2020-04-17 17:48:39 +02:00
Sebastian Gniazdowski
afe03d4f08
zinit: Preserve Turbo tasks when reloading, fixes #306
2020-04-17 17:35:26 +02:00
Sebastian Gniazdowski
cacfa35d9e
zinit: Detect lack of datetime module #306
2020-04-17 16:32:56 +02:00
greg
9e785d31ed
zinit: Fix ZSH_CACHE_DIR value
2020-04-17 01:06:16 +02:00
Sebastian Gniazdowski
7e84e7bb9c
*install: Feature – compile'' now stores the compiled files in
...
ADD_COMPILED array instead of displaying them.
2020-04-16 18:50:43 +02:00
Sebastian Gniazdowski
44e04aef43
*install: Allow calling creinstall in atclone → preserve INSTALLED_COMPS
...
and SKIPPED_COMPS
2020-04-16 18:40:12 +02:00
Sebastian Gniazdowski
8ae32e1037
*install: Single rm -f
2020-04-16 18:24:59 +02:00
Sebastian Gniazdowski
b6db52b9bf
*side: Use if instead of &&/||
2020-04-16 16:56:20 +02:00
Sebastian Gniazdowski
188f9b8cdb
*side: Improve *colorify*
2020-04-16 16:55:23 +02:00
Sebastian Gniazdowski
868fad03f5
*install: Don't reinstall disabled completions
2020-04-16 16:39:14 +02:00
Sebastian Gniazdowski
69abeab722
*install: Remove unneeded quoting
2020-04-16 16:38:37 +02:00
Sebastian Gniazdowski
d411068c8f
*zinit: emulate instead of setopt
2020-04-16 16:37:57 +02:00
Sebastian Gniazdowski
3a01df8495
zinit: Remove `cloneonly' file
2020-04-16 16:30:19 +02:00
Sebastian Gniazdowski
d084ab23d8
README.md
2020-04-16 16:23:43 +02:00
Sebastian Gniazdowski
5dd98f71e1
*install: Correctly handle completion URLs
2020-04-16 16:16:30 +02:00
Sebastian Gniazdowski
f53c4cf7f1
*install: Correctly download completion files
2020-04-16 15:19:53 +02:00
Sebastian Gniazdowski
997e3161d6
README.md
2020-04-15 23:45:34 +02:00
Sebastian Gniazdowski
0064b48678
README.md
2020-04-15 19:23:08 +02:00
Sebastian Gniazdowski
a4cdccfe3e
zinit: Provide the OMZT entry
2020-04-15 19:18:11 +02:00
Sebastian Gniazdowski
349caca207
rpm2cpio.zsh,*install: Move a file
2020-04-15 19:17:46 +02:00
Sebastian Gniazdowski
84b61e65ab
*install: Support updating using the new URL prefixes
2020-04-15 19:13:46 +02:00
Sebastian Gniazdowski
f7866672cf
README.md
2020-04-15 19:09:30 +02:00
Sebastian Gniazdowski
c8a56bc6b5
README.md
2020-04-15 19:08:24 +02:00
Sebastian Gniazdowski
23493ec5c8
zinit,*install: FEATURE – ability to skip the /themes/….zsh-theme from a
...
OMZ theme URL, e.g.: zi for OMZT::gnzh
2020-04-15 19:04:34 +02:00
Sebastian Gniazdowski
7682b40b74
README.md
2020-04-15 18:50:19 +02:00
Sebastian Gniazdowski
2bbb48f6e5
README.md
2020-04-15 18:44:25 +02:00
Sebastian Gniazdowski
37677c1fa2
*install: Correctly extend single-file URLs
2020-04-15 18:40:23 +02:00
Sebastian Gniazdowski
f8ae31a36c
README.md
2020-04-15 18:37:42 +02:00
Sebastian Gniazdowski
dbbbc2afa3
README.md
2020-04-15 18:32:14 +02:00
Sebastian Gniazdowski
20fa14b06a
Move files
2020-04-15 18:29:41 +02:00
Sebastian Gniazdowski
b2a222dbc6
README.md
2020-04-15 18:28:44 +02:00
Sebastian Gniazdowski
66ca5e4300
*install: FEATURE – …/name.plugin.zsh can be skipped from single-file
...
(non svn) snippet URL – e.g.: OMZ::plugins/git or OMZP::git is
sufficient.
2020-04-15 18:24:11 +02:00
Sebastian Gniazdowski
216045cbe1
*install: Alternate syntax in one place
2020-04-15 18:21:44 +02:00
Sebastian Gniazdowski
2654046d2e
zinit: Correct PZTM
2020-04-15 18:21:12 +02:00
Sebastian Gniazdowski
b96f274f4a
zinit,*install: Correct ZSH typeset
2020-04-15 18:20:37 +02:00
Sebastian Gniazdowski
589efcc43c
README.md
2020-04-15 16:48:37 +02:00
Sebastian Gniazdowski
46a2084b97
zinit,*install,*autoload: FEATURE - new prefixes OMZP:: = OMZ::/plugins/
...
OMZL:: = OMZ::lib/, PZTM:: = PZT::modules/, for both svn and single-file
snippets. Example use:
zinit for OMZP::ruby/ruby.plugin.zsh
zinit svn for OMZP::ruby
2020-04-15 16:37:43 +02:00
Sebastian Gniazdowski
373eb3c23e
zinit,*install: Correctly move the snippet of code
2020-04-15 16:35:32 +02:00
Sebastian Gniazdowski
aec8ed3cca
*install: Handle uncompiled snippet better
2020-04-15 16:26:21 +02:00
Sebastian Gniazdowski
6f0f9e4807
zinit,*install: Move a snippet of code to *install
2020-04-15 16:04:53 +02:00
Sebastian Gniazdowski
e11b9617fb
zinit,*install: Move a snippet to *install
2020-04-15 15:08:26 +02:00
Sebastian Gniazdowski
cd93467743
zinit: Fix a message
2020-04-15 14:38:14 +02:00
Sebastian Gniazdowski
711da6ad54
zinit: Return code 0 #304
2020-04-15 14:23:35 +02:00
Sebastian Gniazdowski
2110fe9815
*process-output: One more level in the terminal size det
2020-04-14 18:07:11 +02:00
Sebastian Gniazdowski
cfce035e0b
*process-output: Detect smaller terminals
2020-04-14 17:58:56 +02:00
Sebastian Gniazdowski
ca29d4fb3f
*autoload: update' implies self-update' #301
2020-04-14 15:50:07 +02:00
Sebastian Gniazdowski
c93d472cd2
*autoload: Quiet mode for *self-update #301
2020-04-14 15:49:30 +02:00
Sebastian Gniazdowski
f5b303450a
zinit: Better auto-disable-Turbo support
2020-04-13 19:06:44 +02:00
Sebastian Gniazdowski
51c963724e
Travis: update
2020-04-13 18:16:21 +02:00
Sebastian Gniazdowski
05a34d80c8
Travis: Update
2020-04-13 16:55:25 +02:00
Sebastian Gniazdowski
f7952e370b
deploy_doc.sh: Update
2020-04-13 16:51:03 +02:00
Sebastian Gniazdowski
19693ef046
Travis: Reformat
2020-04-13 16:46:47 +02:00
Sebastian Gniazdowski
f0db6c5c76
travis: New key
2020-04-13 16:44:30 +02:00
Sebastian Gniazdowski
119fdce8b1
New code documentation
2020-04-13 16:10:53 +02:00
Sebastian Gniazdowski
13b98aab20
install.sh: Improve installer
2020-04-13 15:32:07 +02:00
Sebastian Gniazdowski
3c990cadcb
zinit: Fix the id-as'' ice
2020-04-12 20:07:21 +02:00
Sebastian Gniazdowski
215e8e44cb
README.md
2020-04-12 20:00:58 +02:00
Sebastian Gniazdowski
f32505d629
zinit: Feature: An empty id-as'' works like id-as'auto'
2020-04-12 19:56:20 +02:00
Sebastian Gniazdowski
a46f97e8c3
*install: More clear condition
2020-04-12 19:55:57 +02:00
Sebastian Gniazdowski
9e683d2af0
*install: Unfunction *git-clone #300
2020-04-12 19:50:23 +02:00
Sebastian Gniazdowski
fdcd13b903
*install: Better messages #300
2020-04-12 19:49:16 +02:00
Sebastian Gniazdowski
13661ee555
*install: Remove code duplication #300
2020-04-12 19:36:40 +02:00
Sebastian Gniazdowski
ef83c60c58
*install: Try to workaround a possible problem with Git #300
2020-04-12 19:33:20 +02:00
Sebastian Gniazdowski
b6c82a0be0
README.md
2020-04-12 17:10:21 +02:00
Sebastian Gniazdowski
872be10400
*install,*autoload: Don't run compinit in parallel update but after it
...
Issue #284
2020-04-10 19:27:37 +02:00
Sebastian Gniazdowski
ad4ba39b44
*install: Make the file compile
2020-04-10 18:44:12 +02:00
Sebastian Gniazdowski
0599a8590b
*install: Extends #299
2020-04-10 18:37:13 +02:00
Sebastian Gniazdowski
db3e810088
*install: Fixes #299
2020-04-10 15:45:27 +02:00
Sebastian Gniazdowski
2fa0d665a8
*process-output: Mute tput when no $TERM #298
2020-04-09 15:17:11 +02:00
Sebastian Gniazdowski
1553e50443
zinit: Remove unneded setopt
2020-04-08 19:42:01 +02:00
Sebastian Gniazdowski
ba51c3e102
zinit: Improve bindmap'' handling #271
2020-04-08 17:13:03 +02:00
Sebastian Gniazdowski
7c142130e5
zinit: Rename functions
2020-04-08 16:12:16 +02:00
Sebastian Gniazdowski
2d0f81dcec
zinit,*autoload: Rearrange functions
2020-04-08 16:11:18 +02:00
Sebastian Gniazdowski
1e0443e4d6
*process-output: Suppress progress bar #297
2020-04-07 19:55:46 +02:00
Sebastian Gniazdowski
4883ab6a91
zinit: Ensure a source
2020-04-07 19:53:58 +02:00
Sebastian Gniazdowski
560c437782
*process-output: Suppress when no $TERM #297
2020-04-07 16:44:40 +02:00
Sebastian Gniazdowski
c4f74ca439
zinit,*install,*autoload: A more safe sourcing of the side sources
2020-04-07 16:00:16 +02:00
Sebastian Gniazdowski
5fba601dbe
zinit: Setup param'' earlier
2020-04-07 15:33:00 +02:00
Sebastian Gniazdowski
d325f71d80
zinit: Remove uneeded flag
2020-04-06 18:43:00 +02:00
Sebastian Gniazdowski
6405bdb78d
*install: Feature: support extracting of RPMs
2020-04-06 17:42:59 +02:00
Sebastian Gniazdowski
81ac5db27f
rpm2cpio.zsh
2020-04-06 17:42:44 +02:00
Sebastian Gniazdowski
9a60b7e6fa
*install: Support different sha sums
2020-04-05 18:12:28 +02:00
Sebastian Gniazdowski
d8fd9340f9
zinit: Check param'' first
2020-04-05 18:10:42 +02:00
Sebastian Gniazdowski
8023b04688
zinit: Optimized param'' handling
2020-04-05 18:09:50 +02:00
Sebastian Gniazdowski
ecc065a2af
*install: Feature: from"gh-r", extract'', ziextract support DEB packages
2020-04-05 14:08:27 +02:00
Sebastian Gniazdowski
f847a47a89
*install: Check and inform about missing unpacking programs
2020-04-05 14:07:45 +02:00
Sebastian Gniazdowski
4fb7c568dc
README.md
2020-04-04 19:10:30 +02:00
Sebastian Gniazdowski
055e076f55
README.md
2020-04-04 18:02:11 +02:00
Sebastian Gniazdowski
a8928a47f2
*install: A small fix for a message
2020-04-04 17:33:45 +02:00
Sebastian Gniazdowski
dfc95c5f9a
zinit: Optimized param'' handling
2020-04-04 16:33:42 +02:00
Sebastian Gniazdowski
01ac879bcb
zinit: Optimize ices loading
2020-04-03 20:51:07 +02:00
Sebastian Gniazdowski
76b28209ed
README.md
2020-04-02 18:51:10 +02:00
Sebastian Gniazdowski
49398d485d
README.md
2020-04-02 18:49:27 +02:00
Sebastian Gniazdowski
4255470cff
README.md
2020-04-02 18:46:07 +02:00
Sebastian Gniazdowski
405deda55a
README.md
2020-04-02 18:44:25 +02:00
Sebastian Gniazdowski
a8c93d588d
*install: Improve a message
2020-04-02 17:02:03 +02:00
Sebastian Gniazdowski
ff976daf72
*install: Support as-monitor `require'
2020-04-02 16:56:16 +02:00
Sebastian Gniazdowski
6d0d843f20
*install: Correctly detect errors from unpacking
2020-04-02 16:51:26 +02:00
Sebastian Gniazdowski
caa3df96b1
*install: Improve a message
2020-04-02 16:40:05 +02:00
Sebastian Gniazdowski
15ec0870cc
README.md
2020-04-01 20:16:59 +02:00
Sebastian Gniazdowski
bfb9186d49
*install: Prevent error messages
2020-04-01 19:54:47 +02:00
Sebastian Gniazdowski
1b1cba1c1c
*install: Improve zpextract's --move option
2020-04-01 19:35:43 +02:00
Sebastian Gniazdowski
fa3ad1036e
*install: Remove unneeded braces
2020-04-01 19:22:06 +02:00
Sebastian Gniazdowski
9ba306f6f5
*install: Inform about the $INSTALLED_EXECS array
2020-04-01 19:10:45 +02:00
Sebastian Gniazdowski
60fb3ceb59
*install,*autoload: Keep unpacked executables in $INSTALLED_EXECS array
2020-04-01 19:07:35 +02:00
Sebastian Gniazdowski
1b66664909
*install: Rename :zinit* → →zinit*
2020-04-01 18:29:46 +02:00
Sebastian Gniazdowski
0c639b5217
*install: `ziextract' – correctly handle --norm and --move
2020-04-01 18:28:19 +02:00
Sebastian Gniazdowski
b61706d03e
zinit: A defensive code in *load-ices
2020-03-24 20:45:06 +01:00
Sebastian Gniazdowski
e4c092fc60
zinit: Handle POSIX_ARG_ZERO
2020-03-24 20:44:33 +01:00
Sebastian Gniazdowski
55e253bf76
zplugin*: Explicitly support loading via relative path
2020-03-24 20:35:56 +01:00
Sebastian Gniazdowski
3073804b97
zinit: Improve *get-object-path
2020-03-24 20:32:20 +01:00
Sebastian Gniazdowski
c0f2a8fbd5
zinit: Store aliases option state
2020-03-22 14:30:28 +01:00
Sebastian Gniazdowski
7806356df4
*install: Fix gh-r version handling
2020-03-20 10:16:09 +01:00
Sebastian Gniazdowski
d9645fdf6f
*install,*autoload: Rename a function
2020-03-20 10:15:26 +01:00
Sebastian Gniazdowski
bd61130880
*install: Output current gh-r version
2020-03-20 10:05:39 +01:00
Sebastian Gniazdowski
5ddb033342
zinit: Allow empty colors in *message
2020-03-20 07:08:26 +01:00
Sebastian Gniazdowski
1658cf0f75
zinit: Use *message
2020-03-20 07:05:22 +01:00
Sebastian Gniazdowski
aeab7d7347
zinit: Make *message output unchanged text if given color not found
2020-03-20 07:03:59 +01:00
Sebastian Gniazdowski
2b21ff2a38
Merge /home/sg/zinit
2020-03-20 06:29:49 +01:00
Sebastian Gniazdowski
98f0087647
zinit: Support for the standard's `functions' directory
2020-03-20 06:05:08 +01:00
Sebastian Gniazdowski
f7085df488
zinit: Use emulate in *shadow-autoload
2020-03-20 06:02:52 +01:00
Sebastian Gniazdowski
e7d464de74
zinit: Improve the initialization code
2020-03-19 19:29:51 +01:00
x1a0
bc49c050e6
Filter out .sha256 urls
2020-03-19 11:21:07 +01:00
Sebastian Gniazdowski
2524d20b0a
*install: Fix `update' to not react on existing plugin directory
...
Issue #281
2020-03-19 11:14:46 +01:00
Sebastian Gniazdowski
e4101367e4
Revert "zinit,*install: Rename functions"
...
This reverts commit 52eb588495 .
2020-03-13 15:35:18 +01:00
Sebastian Gniazdowski
52eb588495
zinit,*install: Rename functions
2020-03-13 15:34:25 +01:00
Sebastian Gniazdowski
5eb48e65df
zinit: Move a function
2020-03-13 12:46:45 +01:00
Sebastian Gniazdowski
6826ca9fee
Fix accidental commit
2020-03-13 12:35:31 +01:00
Sebastian Gniazdowski
1f08e3249d
Revert "all: Cleanup"
...
This reverts commit f811bf36f1 .
2020-03-13 12:34:18 +01:00
Sebastian Gniazdowski
3522eb9e98
zinit: Alternate syntax in a few places
2020-03-13 12:31:32 +01:00
Sebastian Gniazdowski
cbe46cde22
zinit: Remove unused options
2020-03-13 12:15:41 +01:00
Sebastian Gniazdowski
6a86ad36fd
zinit: Use *message instead of print
2020-03-12 04:33:49 +01:00
Sebastian Gniazdowski
3eabf8c7d0
zinit: Simplify *setup-params
2020-03-12 04:08:49 +01:00
Sebastian Gniazdowski
90d5ecb9e2
zinit: Uplift *substitute
2020-03-12 04:05:11 +01:00
Sebastian Gniazdowski
40c8319efd
zinit,*side,*autoload: nval ices in single place
2020-03-12 03:50:07 +01:00
Sebastian Gniazdowski
af81cedd9c
*autoload: Use emulate in *recall
2020-03-12 03:44:08 +01:00
Sebastian Gniazdowski
48a1eb3087
*autoload: Uplift *recall
2020-03-12 03:43:11 +01:00
Sebastian Gniazdowski
37918cf5fb
zinit,*side,*autoload: Use the single, global ice-list everywhere
2020-03-12 03:39:48 +01:00
Sebastian Gniazdowski
3b443ed53b
zinit: Cleanup of *setup-params
2020-03-12 03:31:02 +01:00
Sebastian Gniazdowski
004a3096d0
zinit: Use extendedglob in *setup-params
2020-03-12 00:38:02 +01:00
Sebastian Gniazdowski
8be528b13a
zinit: emulate instead of setopt
2020-03-12 00:13:16 +01:00
Sebastian Gniazdowski
59a0f74fca
zinit: emulate instead of setopt
2020-03-12 00:12:09 +01:00
Sebastian Gniazdowski
e0ad20cce4
zinit: Small uplift
2020-03-12 00:10:53 +01:00
Sebastian Gniazdowski
1767f30109
zinit: param'' ice allows to define parameters that are to be created
2020-03-12 00:10:06 +01:00
Sebastian Gniazdowski
0f1bf918fa
zinit: Uplift the emulation ices handling
2020-03-12 00:06:43 +01:00
Sebastian Gniazdowski
ad64d4089a
zinit: Set option via emulate
2020-03-11 19:59:18 +01:00
Sebastian Gniazdowski
80711e350f
zinit: Cleanup
2020-03-11 19:58:31 +01:00
Sebastian Gniazdowski
ed9d2381a5
zinit: Use the *message function
2020-03-11 19:45:38 +01:00
Sebastian Gniazdowski
70996bf5ab
*autoload: Use the *message function in one place
2020-03-11 19:45:22 +01:00
Sebastian Gniazdowski
eec282852a
zinit: Replace `print' with the *message function
2020-03-11 19:42:45 +01:00
Sebastian Gniazdowski
b6422eb8ff
*autoload: Remember module build time
2020-03-11 19:41:32 +01:00
Sebastian Gniazdowski
7cf349ef15
zinit: Rename the *message function
2020-03-11 19:39:18 +01:00
Sebastian Gniazdowski
d6e707da4f
zinit: A new function *message
2020-03-11 18:06:10 +01:00
Sebastian Gniazdowski
ae1f571f0c
zinit: Improve a message
2020-03-11 16:41:24 +01:00
Sebastian Gniazdowski
0056a7fcac
zinit: Extend error message
2020-03-11 16:38:29 +01:00
Sebastian Gniazdowski
1962e394cc
zinit: Improve a message
2020-03-11 16:37:25 +01:00
Sebastian Gniazdowski
3e8d1edc40
zinit: Warn if a suspected overlap of plugin and an ice occurs
2020-03-11 16:35:08 +01:00
Sebastian Gniazdowski
b057c53c89
zinit: Alternate syntax in a few places
2020-03-11 15:52:59 +01:00
Sebastian Gniazdowski
81b9d3a53a
zinit: Create a global ice-list
2020-03-11 15:51:24 +01:00
Sebastian Gniazdowski
f811bf36f1
all: Cleanup
2020-03-06 11:26:23 +01:00
Sebastian Gniazdowski
d70b07b8f7
*install: Fix a *get-object-path call
2020-03-06 10:01:29 +01:00
Sebastian Gniazdowski
488039ef8e
*install: Alternate syntax in few places
2020-03-06 07:26:29 +01:00
Sebastian Gniazdowski
9c9db19092
*install: Fix a message in *setup-plugin-dir
2020-03-06 07:16:26 +01:00
Sebastian Gniazdowski
8cd6c0796a
*install: Unify two cases in *setup-plugin-dir
2020-03-06 07:13:43 +01:00
Sebastian Gniazdowski
2d14c8b9e8
*install: Alternate syntax in few places
2020-03-06 06:53:19 +01:00
Sebastian Gniazdowski
ea339b53cf
zinit: Feature - atinit'!…' will be tracked by Zinit
2020-03-06 04:41:23 +01:00
gammafn
0fc5e44c51
shadow-autoload breaks under rcexpandparam
2020-03-06 02:33:09 +01:00
Sebastian Gniazdowski
81a676304f
*autoload: Allow to influence the parallel update via $ZINIT[DEBUG_MODE]
2020-03-03 19:51:27 +01:00
Sebastian Gniazdowski
442bedceb1
*autoload: Improve safety and messages of *delete
2020-03-03 19:46:21 +01:00
Sebastian Gniazdowski
04daa17c7c
*autoload: Localize $match, …, $MATCH, … parameters in *delete
2020-03-03 19:43:39 +01:00
Sebastian Gniazdowski
eeb9f94481
*autoload: Use emulate instead of setopt in *delete
2020-03-03 19:43:10 +01:00
Sebastian Gniazdowski
8a26f58760
*autoload: Use emulate instead of setopt in *show-times
2020-03-03 19:42:15 +01:00
wzy
f399defbae
Rename zplugin.1 to zinit.1
...
modify the error when `zinit man` return no file named zinit.1
2020-03-03 19:16:34 +01:00
Sebastian Gniazdowski
31ab63be5e
*autoload: More safety improvements to `reset' and -r/--reset
2020-03-03 13:38:23 +01:00
Sebastian Gniazdowski
8e0751d184
*autoload: Better protected -r/--reset option (for `update') and the ice
2020-03-03 13:17:39 +01:00
Sebastian Gniazdowski
00ad29a6a3
install.sh: A general uplift and presentation of a few important changes
2020-03-02 20:27:49 +01:00
Sebastian Gniazdowski
18c45eda10
install.sh: Propose adding a few useful annexes to the zshrc
2020-03-02 14:08:44 +01:00
Sebastian Gniazdowski
c4d7a05138
install.sh: add %b to print -P messages
2020-03-02 14:06:28 +01:00
Sebastian Gniazdowski
96aa7ab04c
install.zsh: Better chmod
2020-03-02 14:04:42 +01:00
Sebastian Gniazdowski
41eae36882
install.zsh: A more reasonable chmod
2020-03-02 13:23:46 +01:00
Sebastian Gniazdowski
3ae28681e8
*install: Compile the plugin with `emulate zsh' set
...
Issue #273
2020-03-02 12:24:50 +01:00
Sebastian Gniazdowski
9c94debeb6
README.md
2020-03-02 02:59:26 +01:00
Sebastian Gniazdowski
451e7139e0
zinit: Fix the object-recognition snippet
2020-03-02 02:50:40 +01:00
Sebastian Gniazdowski
941fcc0e14
zinit: Fix a typo
2020-03-02 02:48:07 +01:00
Sebastian Gniazdowski
0f1bed97f3
zinit: Fix potential plugin/snippet loading problem
2020-03-02 02:45:49 +01:00
Sebastian Gniazdowski
e361f97000
zinit: Fixed snippet-recognition (this time for sure) for passing both…
...
a snippet and a plugin in the same for-syntax command.
Issue #272
2020-03-02 02:24:44 +01:00
Sebastian Gniazdowski
985c57f6e5
zinit: Fix passing github url to load/light #184
2020-03-01 17:11:18 +01:00
Sebastian Gniazdowski
dbd749f28c
zinit: A fixed version of the nicer object-type -recognition snippet
2020-03-01 00:16:43 +01:00
Sebastian Gniazdowski
de249d96a4
zinit: Properly allow the last one in zle-F-series to start new series
2020-02-29 23:39:41 +01:00
Sebastian Gniazdowski
ceaa435355
Revert "zinit: Allow the last one of the zle-F-series to create a new series"
...
This reverts commit 823e3cd3f8 .
2020-02-29 23:38:22 +01:00
Sebastian Gniazdowski
b5e092fd13
*autoload: Extend parallel-update message with type of updated objects
...
Issue #184
2020-02-29 23:33:59 +01:00
Sebastian Gniazdowski
ff385cc690
*autoload: Resign of extra newline after plugin update in non-quiet mode
2020-02-29 23:26:32 +01:00
Sebastian Gniazdowski
62409fc141
README.md
2020-02-29 20:20:57 +01:00
Sebastian Gniazdowski
32cd3aa21a
Revert "zinit: More compact and nicer object-type recognition code"
...
This reverts commit b8515056e7 .
2020-02-29 20:10:41 +01:00
Sebastian Gniazdowski
928cbbded9
README.md
2020-02-29 00:12:44 +01:00
Sebastian Gniazdowski
823e3cd3f8
zinit: Allow the last one of the zle-F-series to create a new series
2020-02-28 23:27:03 +01:00
Sebastian Gniazdowski
660e67abfb
README.md
2020-02-28 23:23:01 +01:00
Sebastian Gniazdowski
b8515056e7
zinit: More compact and nicer object-type recognition code
2020-02-28 20:20:58 +01:00
Sebastian Gniazdowski
06880c9b43
zinit: Make *get-object-path respect id-as''
2020-02-28 20:00:44 +01:00
Sebastian Gniazdowski
d2b195e715
README.md
2020-02-28 18:20:55 +01:00
Sebastian Gniazdowski
494fc9ade3
README.md
2020-02-28 18:18:25 +01:00
Sebastian Gniazdowski
501bca7c8a
README.md
2020-02-28 18:07:15 +01:00
Sebastian Gniazdowski
125f57b544
README.md
2020-02-28 18:01:40 +01:00
Sebastian Gniazdowski
c77cb37071
README.md
2020-02-28 17:31:56 +01:00
Sebastian Gniazdowski
e036174400
*autoload: Correct conditions for some messages
2020-02-28 13:58:04 +01:00
Sebastian Gniazdowski
a3cd138ccf
zinit: typeset ZINIT_TMP
2020-02-28 13:47:56 +01:00
Sebastian Gniazdowski
5dd920fd2f
zinit: Correctly recognize empty wait ice for the non-Turbo installation
2020-02-28 05:10:31 +01:00
Sebastian Gniazdowski
46a03bf311
zinit: Resign of overcautiousness for more performance in scheduler
2020-02-28 05:01:44 +01:00
Sebastian Gniazdowski
9915a6dd2b
zinit: OPTIMIZATION – scheduler performs the hard work only when needed.
...
This should give +20 ms gain per any Turbo object, for a high number
of the objects, like 20.
2020-02-27 23:23:56 +01:00
Sebastian Gniazdowski
6022fa05c4
README.md
2020-02-27 22:25:56 +01:00
Sebastian Gniazdowski
a1f5ae9e1f
README.md
2020-02-27 22:24:14 +01:00
Sebastian Gniazdowski
e2bcc8d581
README.md
2020-02-27 22:18:52 +01:00
Sebastian Gniazdowski
0053e309e9
zinit: !!FIX!! – restore Turbo-mode for the non-for syntax
2020-02-27 22:14:46 +01:00
Sebastian Gniazdowski
779ecb5423
zinit: Zsh's greedy matching is non-exhaustive
2020-02-27 20:41:51 +01:00
Sebastian Gniazdowski
909fd69246
zinit: Check for existence of object only, when there's Turbo-like ice
2020-02-27 18:32:45 +01:00
Sebastian Gniazdowski
4a79f8547a
zinit: Uplift scheduler code
2020-02-27 16:31:52 +01:00
Sebastian Gniazdowski
bb02c30829
README.md
2020-02-26 21:52:57 +01:00
Sebastian Gniazdowski
1c5fdda600
*install: Use correct variable name `ZINIT_ICE'
...
See: a305bf81ac (commitcomment-37499776)
2020-02-26 21:43:22 +01:00
Sebastian Gniazdowski
21bdde4d94
README.md
2020-02-26 14:35:28 +01:00
Sebastian Gniazdowski
68dfde8578
README.md
2020-02-26 14:04:34 +01:00
Sebastian Gniazdowski
d803b7e103
*autoload: Restart also the update function (on Zinit reload)
2020-02-26 12:52:48 +01:00
Sebastian Gniazdowski
ddc554f8f4
zinit,*autoload: FEATURE - update' will detect a self-update' done in
...
another session and automatically *reload* Zinit right before updating.
Issue #270
2020-02-26 12:42:12 +01:00
Sebastian Gniazdowski
0c728966d0
*install: *update-snippet verifies if the snippet exists
...
Issue #270
2020-02-26 10:58:02 +01:00
Sebastian Gniazdowski
9af32d853d
zinit: Use alternate syntax for the module-recompilation block
2020-02-26 10:31:44 +01:00
Sebastian Gniazdowski
281a644d3f
zinit,*autoload: Add support for reloading Zinit after self-update
...
Issue #270
2020-02-26 10:30:45 +01:00
Sebastian Gniazdowski
693d9027f5
*autoload: Remove unneeded quoting and braces from *self-update
2020-02-26 10:29:51 +01:00
Sebastian Gniazdowski
68e6130916
*autoload: Emulate in *self-update
2020-02-26 10:26:37 +01:00
Sebastian Gniazdowski
2306c015b1
*autoload: Fix a problem of the ices not resetting when no binary found
2020-02-26 09:39:46 +01:00
Sebastian Gniazdowski
a9b2874e5e
*install,*autoload: Provide ZINIT_ICE for *gh-r-version → no $ice refs
2020-02-26 09:32:11 +01:00
Sebastian Gniazdowski
27bdc46685
*install: Sophisticated message from *gh-r-version that adapts to bpick
2020-02-26 09:22:49 +01:00
Sebastian Gniazdowski
e7bed9f49e
zinit: A lighter blue for col-file
2020-02-26 09:22:00 +01:00
Sebastian Gniazdowski
2a0f4daf78
*autoload: Compare the URLs exactly, without wrapping *…*
2020-02-26 09:05:34 +01:00
Sebastian Gniazdowski
b3afd76061
zinit: A lighter orange for col-msg2
2020-02-26 09:04:49 +01:00
Sebastian Gniazdowski
faf758474d
*install: *gh-r-version is made additionally testable
2020-02-26 09:03:25 +01:00
Sebastian Gniazdowski
3dec15b1ba
*install: KSH_ARRAYS is disabled (emulate zsh) → no need for braces
2020-02-26 09:02:32 +01:00
Sebastian Gniazdowski
eaea70043e
*install: A nice message with print -P and ZINIT[col-*] in *gh-r-version
2020-02-26 09:01:21 +01:00
Sebastian Gniazdowski
286896bda1
*install: Always reset REPLY in *gh-r-version
2020-02-26 09:00:35 +01:00
Sebastian Gniazdowski
a305bf81ac
*install: Uplift *gh-r-version, a cleanup
2020-02-26 08:59:23 +01:00
Sebastian Gniazdowski
5ad9d1b175
*install: emulate instead of setopt in *gh-r-version
2020-02-26 08:57:29 +01:00
Sebastian Gniazdowski
5f587d1d31
*install,*autoload: Abort when there's no suitable binary file found
2020-02-26 08:56:25 +01:00
NICHOLAS85
44ebbf566f
*install,*autoload: Consolidate gh-r version logic
2020-02-26 08:32:54 +01:00
Sebastian Gniazdowski
b46acc35ca
README.md
2020-02-26 06:09:03 +01:00
Sebastian Gniazdowski
23bcb30ff5
README.md
2020-02-26 06:05:16 +01:00
Sebastian Gniazdowski
5302fe45a6
README.md
2020-02-26 05:52:32 +01:00
Sebastian Gniazdowski
11859c7122
zinit: Output message, don't just return when no zsh/util, zsh/parameter
2020-02-26 05:38:08 +01:00
Sebastian Gniazdowski
a958509219
*install: Better / better separated pack''-related messages
2020-02-26 05:18:20 +01:00
Sebastian Gniazdowski
9bcf61427d
README.md
2020-02-26 04:28:11 +01:00
Sebastian Gniazdowski
f7155a4f27
README.md
2020-02-26 04:22:45 +01:00
Sebastian Gniazdowski
0cd2c64765
*autoload: A better header message for `times -m'
2020-02-26 04:16:36 +01:00
Sebastian Gniazdowski
bd93a6e942
zinit: FEATURE – Turbo is now disabled if the plugin isn't installed
...
first. This makes the plugins and snippets be installed without Turbo
mode – i.e.: immediately during the reading of Zshrc and not after
showing the prompt. Use ZINIT[OPTIMIZE_OUT_DISK_ACCESSES]=1 to disable
this feature – this gives ~10 ms out of ~150 ms, e.g.: 144 ms instead
of 154 ms (the time of `zsh -ic exit').
2020-02-26 03:24:44 +01:00
Sebastian Gniazdowski
1ee8ca94d5
zinit: Uplift *load-ices → use of *get-object-path
2020-02-26 00:40:42 +01:00
Sebastian Gniazdowski
96e0d4b67a
*install: Uplift ↑ of *update-snippet → use of *get-object-path
2020-02-26 00:29:20 +01:00
Sebastian Gniazdowski
a4b7df9920
*side: Uplift ↑ of *two-paths – no redundancy → call to *get-object-path
2020-02-26 00:11:55 +01:00
Sebastian Gniazdowski
3fb9803fcb
*side: emulate in *two-paths
2020-02-26 00:10:43 +01:00
Sebastian Gniazdowski
cfe7566e7f
*side: Reformat code
2020-02-26 00:09:33 +01:00
Sebastian Gniazdowski
aa9b4880ed
*autoload: `times' verifies if zsh/datetime module is available
2020-02-25 22:49:51 +01:00
Sebastian Gniazdowski
08e65c73c4
zinit: Care for the error messages also when loading a snippet
2020-02-25 22:21:06 +01:00
Sebastian Gniazdowski
07fa09b533
zinit: Uplift ↑ *load-plugin + atload'!…' fix
2020-02-25 22:14:31 +01:00
Sebastian Gniazdowski
e73749b0b4
zinit: Call *other-matches instead of running an own globbing
2020-02-25 21:44:28 +01:00
Sebastian Gniazdowski
f21e7a43eb
zinit: *other-matches uplift: a) testable, b) does uniquify, c) lib.zsh,
...
d) nicer quoting and no unneeded braces.
2020-02-25 21:38:23 +01:00
Sebastian Gniazdowski
5c6d25d471
zinit: Make *get-object-path testable: true/false ↔ directory exists/not
2020-02-25 20:50:33 +01:00
Sebastian Gniazdowski
aeac5e2053
zinit: `run' to use the *get-object-path function
2020-02-25 20:49:04 +01:00
Sebastian Gniazdowski
4c23cf2f85
zinit: A new function to get path to the object, plugin or snippet
2020-02-25 20:09:48 +01:00
Sebastian Gniazdowski
a268905a9a
zinit,*side,*install: Better snippet paths for domain-only URLs
2020-02-25 19:50:55 +01:00
Sebastian Gniazdowski
25e161109a
zinit: Fix snippet-path computing in `run'
2020-02-25 19:47:28 +01:00
Sebastian Gniazdowski
43b0562745
zinit: Alternate syntax in one place
2020-02-25 19:43:11 +01:00
Sebastian Gniazdowski
51745d7da1
zinit: Always set $ZSH for OMZ snippets, not only for `svn' mode
2020-02-25 18:57:51 +01:00
Sebastian Gniazdowski
e93ea2832e
*install: A small cleanup in *update snippet
...
Issue #184
2020-02-25 18:56:53 +01:00
Sebastian Gniazdowski
9193f062bf
zinit: Further cleanup in *load-snippet
2020-02-25 18:55:45 +01:00
Sebastian Gniazdowski
c4f0c48fcb
zinit: Remove superfluous update-related code from *load-snippet
...
Issue #184
2020-02-25 17:15:30 +01:00
Sebastian Gniazdowski
b00f361825
Revert "Revert "Revert "zinit: Use zselect for a more predictable sleep time"""
...
This reverts commit f8479165e7 .
2020-02-25 14:48:31 +01:00
Sebastian Gniazdowski
ed41ae76b6
*autoload: `create' now sets up also the diff regex for Markdown files
2020-02-25 12:39:53 +01:00
Sebastian Gniazdowski
92f0a3df32
README.md
2020-02-22 18:37:22 +01:00
Sebastian Gniazdowski
ed46ffc3c0
README.md
2020-02-22 18:35:23 +01:00
Sebastian Gniazdowski
e1ec27cb1b
README.md
2020-02-22 18:34:14 +01:00
Sebastian Gniazdowski
5b070a0d53
README.md
2020-02-22 18:33:03 +01:00
Sebastian Gniazdowski
aabb6f35fd
README.md (logo)
2020-02-22 18:30:51 +01:00
Sebastian Gniazdowski
b7f3784b94
*autoload: Add missing ices to the help message
2020-02-21 21:04:15 +01:00
Sebastian Gniazdowski
ff75e5ab48
zinit: Better formating for a snippet of code
2020-02-21 21:03:37 +01:00
Sebastian Gniazdowski
7ec8eef41d
zinit,*side: Support the --- separated IDs deeper
2020-02-21 19:13:41 +01:00
Sebastian Gniazdowski
210c541e35
*side: *colorify* to support --- separated IDs
2020-02-21 19:06:45 +01:00
Sebastian Gniazdowski
f8479165e7
Revert "Revert "zinit: Use zselect for a more predictable sleep time""
...
This reverts commit c404dffe56 .
Issue #267
2020-02-21 18:29:36 +01:00
Sebastian Gniazdowski
ad97d51eb9
zinit,*install,*autoload: Protect against word-split and spaces-BIN_DIR
2020-02-21 18:26:15 +01:00
Sebastian Gniazdowski
709c59c63f
zinit: Correctly recognize annex subcommands
2020-02-21 15:38:53 +01:00
Sebastian Gniazdowski
f4c7a41942
zinit: Fix (#i) comparison
2020-02-21 14:58:55 +01:00
Sebastian Gniazdowski
756728b855
zinit.zsh: Use emulate in *service
2020-02-21 14:57:48 +01:00
Sebastian Gniazdowski
c404dffe56
Revert "zinit: Use zselect for a more predictable sleep time"
...
This reverts commit f6145dff24 .
Issue #267
2020-02-20 19:35:30 +01:00
Sebastian Gniazdowski
7e0455a565
README.md
2020-02-20 19:32:57 +01:00
Sebastian Gniazdowski
c4cd4dff90
README.md
2020-02-20 19:20:03 +01:00
Sebastian Gniazdowski
4400d85851
*install: `ziextract' checks if the argument was given
2020-02-20 18:50:58 +01:00
Sebastian Gniazdowski
5190d9a18e
*install: `extract' now skips doing backup also when 2 or more archives
...
will be detected in the auto mode
2020-02-20 18:24:36 +01:00
Sebastian Gniazdowski
26dc46fd7c
README.md
2020-02-20 15:42:42 +01:00
Sebastian Gniazdowski
e4296dd838
zinit: Fine-grained FEATURE – an empty pick'' ice will result in
...
automatic setting of it to the $id_as:t – i.e.: to the last component of
the ID string. This works only for as"command". Example:
zinit as=command pick for paulirish/git-open
being equivalent to:
zinit as=command pick=git-open for paulirish/git-open
2020-02-20 15:17:41 +01:00
Sebastian Gniazdowski
c49cee655f
*install: Allow un-quieting of a single update operation (snippets only)
2020-02-20 08:09:36 +01:00
Sebastian Gniazdowski
598763dfd1
*install: Skip copying message for /dev/null snippet
2020-02-20 07:42:31 +01:00
Sebastian Gniazdowski
2e6fc2ab90
zinit: ZINIT_CUR_PLUGIN → ZINIT[CUR_PLUGIN]
2020-02-20 07:31:24 +01:00
Sebastian Gniazdowski
8b28282345
README.md
2020-02-20 07:05:14 +01:00
Sebastian Gniazdowski
b9c93f26a6
README.md
2020-02-20 05:29:42 +01:00
Sebastian Gniazdowski
a3841a9b18
*autoload: Be cautious to not loose track of the plugins #184
2020-02-20 04:49:51 +01:00
Sebastian Gniazdowski
97ad98ccc5
*autoload: Don't set nullglob
2020-02-20 04:47:19 +01:00
Sebastian Gniazdowski
a519e7dd72
*autoload: Further cleanup #184
2020-02-20 04:42:13 +01:00
Sebastian Gniazdowski
cb083d2693
*install: Remove unneeded quotes in one place
2020-02-20 04:40:03 +01:00
Sebastian Gniazdowski
26fe941816
*autoload: Cleanup
...
Issue #184
2020-02-20 04:39:32 +01:00
Sebastian Gniazdowski
1bb3940cee
*autoload: Remove code duplication by adding a function
...
Issue #184
2020-02-20 04:38:35 +01:00
Sebastian Gniazdowski
542ec4fcd0
*autoload: Remove debug message, update one other message
2020-02-20 04:33:34 +01:00
Sebastian Gniazdowski
c70d737051
*autoload: Remove debug messages
2020-02-20 04:31:56 +01:00
Sebastian Gniazdowski
cb673688e5
zinit,*autoload: FEATURE – PARALLEL UPDATE – pass -p/--parallel to
...
`update' to activate. Runs sets of 15 concurrent jobs – to customize,
pass the number, e.g.: zi update -p 20
2020-02-20 04:28:24 +01:00
Sebastian Gniazdowski
17fb390646
*autoload: More concise update messages
...
Issue #184
2020-02-20 03:31:11 +01:00
Sebastian Gniazdowski
aa7800dc72
*install: Use -f with `ln'
2020-02-20 02:48:25 +01:00
Sebastian Gniazdowski
c82422f1be
*install,*autoload: Exclude *.ri files (Ruby) from completions patterns
2020-02-19 23:11:15 +01:00
Sebastian Gniazdowski
668c064103
git-process-output.zsh: Shorter message
2020-02-19 06:19:15 +01:00
Sebastian Gniazdowski
3724e0889b
README.md
2020-02-19 05:45:37 +01:00
Sebastian Gniazdowski
407fe3aca7
README.md
2020-02-19 05:44:50 +01:00
Sebastian Gniazdowski
0f4a3125c2
*autoload: Remove unneeded quoting from *recently
2020-02-19 00:01:25 +01:00
Sebastian Gniazdowski
a630b33378
*autoload: emulate in *recently
2020-02-18 23:59:11 +01:00
Sebastian Gniazdowski
3c36a8a23a
*autoload: More compact update logs
2020-02-18 23:58:31 +01:00
Sebastian Gniazdowski
431bd2b906
*install: Set the multi-flag to 2 when installing an object (p/s)
2020-02-18 03:44:27 +01:00
Sebastian Gniazdowski
6ec3c08b00
*install: Remove unneeded quoting from *download-snippet
...
Issue #184
2020-02-18 03:37:02 +01:00
Sebastian Gniazdowski
ef41a5c159
*install: No warncreateglobal in ziextract in case someone wants to use
...
it outside Zinit.
2020-02-18 02:34:58 +01:00
Sebastian Gniazdowski
79c689f52d
*install: Don't disable noshortloops to allow Prezto modules to compile
...
Issue #263
2020-02-13 21:06:11 +01:00
Sebastian Gniazdowski
6301871d43
zinit,*install: Two assigns in one line
2020-02-13 04:59:48 +01:00
Sebastian Gniazdowski
f4601a0aa1
*autoload: *update-or-status-all – use emulate & remove unneeded quoting
...
Issue #184
2020-02-13 04:55:35 +01:00
Sebastian Gniazdowski
9b769c6f31
*autoload: Remove unneeded quoting from *update-or-status
...
Issue #184
2020-02-13 04:46:38 +01:00
Sebastian Gniazdowski
7547e3018f
*autoload: Remove unneded quoting from *get-path
2020-02-13 04:37:17 +01:00
Sebastian Gniazdowski
0db31d7107
*autoload: A fix for local plugins and ice overriding at update
2020-02-13 04:34:52 +01:00
Sebastian Gniazdowski
6a72ced371
*install: A better message print
2020-02-13 04:11:56 +01:00
Sebastian Gniazdowski
1017376f42
zinit,*install,*autoload: Cleanup in snippet-update code
...
Issue #184
2020-02-13 04:10:35 +01:00
Sebastian Gniazdowski
13fc722ab0
*install: Remove unneeded quoting from 2 places
2020-02-13 04:07:47 +01:00
Sebastian Gniazdowski
fd960f2efe
*autoload: (old)Feature – after recall' appending only update' to the
...
`zinit' command is sufficient – no need to enter the ID. Fix this for
snippets.
2020-02-13 03:19:11 +01:00
Sebastian Gniazdowski
ef43ab1bb0
*autoload: An update message to respect -q/--quiet
2020-02-12 11:08:45 +01:00
Sebastian Gniazdowski
4a161add10
*install: Make extract' respect the -q/--quiet option of update'
2020-02-11 23:25:15 +01:00
Sebastian Gniazdowski
54d938a0ee
*autoload: More concise update message
2020-02-11 23:22:25 +01:00
Sebastian Gniazdowski
0b666a53ed
*autoload: FEATURE: `create' now sets up a .gitattributes file and a Zsh
...
diff regex, that will properly match Zsh function names in the diffs
2020-02-11 19:05:36 +01:00
Sebastian Gniazdowski
16a207ef03
.gitattributes with diff=zsh
2020-02-11 18:47:55 +01:00
Sebastian Gniazdowski
943cd68588
*autoload: Nicer code in one place
2020-02-11 17:20:14 +01:00
Sebastian Gniazdowski
342e1e6061
*autoload: Limit the cases when the hooks are being run during update
2020-02-11 17:13:58 +01:00
Sebastian Gniazdowski
8eb1a159e1
*autoload: Update of snippet is testable
2020-02-11 01:46:45 +01:00
Sebastian Gniazdowski
dc7e2f2722
*install: Reformat a long message
2020-02-11 01:36:44 +01:00
Sebastian Gniazdowski
59b14359f8
*autoload: If there are plugin and snippet of same name – update both
2020-02-11 01:27:13 +01:00
Sebastian Gniazdowski
85ef4d7527
*autoload: Fix updating if there's a snippet of same name as plugin
2020-02-11 01:24:13 +01:00
Sebastian Gniazdowski
3aca065cac
*install: Don't remove the single-file snippet before copying
2020-02-10 18:45:26 +01:00
Sebastian Gniazdowski
0bccd8d86f
*install: Fix the file-snippet hook running
2020-02-10 18:44:56 +01:00
Sebastian Gniazdowski
df16d33e1f
*install: Improve a message and some code
2020-02-10 17:24:07 +01:00
Sebastian Gniazdowski
8ce36e9d8e
*install: Don't deliberately resign from Zsh <= 5.0.0 compatibility
2020-02-10 01:17:49 +01:00
Sebastian Gniazdowski
04dab88fba
*install: Further improve an old code
2020-02-10 01:14:54 +01:00
Sebastian Gniazdowski
8619a0e02e
*install: Improve an old code
2020-02-10 01:13:03 +01:00
Sebastian Gniazdowski
2e7749cc38
*install: A better way to prevent the message
2020-02-10 01:11:39 +01:00
Sebastian Gniazdowski
a1b4243a61
*install: Fix an error message appearing
2020-02-10 01:09:08 +01:00
Sebastian Gniazdowski
b9d6e4c195
README.md
2020-02-10 00:52:11 +01:00
Sebastian Gniazdowski
c2bf00c7a2
*autoload: Fix the ^M appearing in update messages
2020-02-10 00:39:34 +01:00
Sebastian Gniazdowski
94eebbac9e
*install: Fix handling of non-empty and multi-valued `extract' ice
2020-02-10 00:07:30 +01:00
Sebastian Gniazdowski
ccd539495b
README.md
2020-02-09 23:34:39 +01:00
Sebastian Gniazdowski
3bf2bee132
*install: Issue warning only when no binaries have been found (`extract')
...
Fixes #230
2020-02-09 04:02:48 +01:00
Sebastian Gniazdowski
53746af4cb
zinit: Remove unneeded braces
2020-02-09 03:57:28 +01:00
Sebastian Gniazdowski
78dafd14e9
*install: No warning message when as"null"
2020-02-09 03:56:48 +01:00
Sebastian Gniazdowski
d1d4e6da49
*install,*autoload: Exclude YAML files from the completions
2020-02-09 03:56:00 +01:00
Sebastian Gniazdowski
f64b9c0f7a
*install: FIX – fully empty `extract' ice works
2020-02-07 19:59:46 +01:00
Sebastian Gniazdowski
67356249c1
README.md
2020-02-07 17:00:21 +01:00
Sebastian Gniazdowski
af46ca5658
*install: extract correctly handles multiple files, e.g.: extract='a.zip
...
b.tar.gz'. The file can have spaces with in – just use the non-breaking
space (RAlt+Space).
2020-02-07 16:36:15 +01:00
Sebastian Gniazdowski
a99851d589
*install: `ziextract' – new option --nobkp prevents creating backup
2020-02-07 16:35:10 +01:00
Sebastian Gniazdowski
f0c85f05be
*install: Remove an ellipsis from a message
2020-02-07 16:09:53 +01:00
Sebastian Gniazdowski
fc89753421
*install: All instalation messages end with period
2020-02-07 16:06:39 +01:00
Sebastian Gniazdowski
fc716fafce
*install: Fix a few bugs with return values
2020-02-07 16:02:07 +01:00
Sebastian Gniazdowski
a661f93afa
*install: Don't move .svn, .hg directories when doing backup (`extract')
2020-02-07 15:43:49 +01:00
Sebastian Gniazdowski
fccd35a7b7
all: FEATURE – New ice `extract' which extracts: a) files with known
...
extensions, b) extension-less files of known file types (checked with
the `file' command), c) or the listed files. extract'!' will move the
files up one directory level. extract'-' will prevent the archive
removal (upon unpacking). Can be combined, e.g.: extract'-!'.
2020-02-07 15:40:22 +01:00
Sebastian Gniazdowski
a21d62e1d6
*install: No blank line during installation of packages
2020-02-07 15:33:59 +01:00
Sebastian Gniazdowski
1f8f697289
*install: Rename the file back from an *.out file so that the remote
...
timestamp checking can work
2020-02-07 14:26:20 +01:00
Sebastian Gniazdowski
b38a34b185
*install: `ziextract' – if a file gets processed at stage 2 of unpacking
...
then skip possible processing of it at stage 1
2020-02-07 14:01:03 +01:00
Sebastian Gniazdowski
2d7d55902c
*install: Uniquify arrays used by `ziextract'
2020-02-07 12:45:23 +01:00
Sebastian Gniazdowski
8e6595aa58
*install: %f → %f%b
2020-02-07 11:43:02 +01:00
Sebastian Gniazdowski
894815867c
*install: Drop ZINIT[col-rst] in favor of %f
2020-02-07 11:20:22 +01:00
Sebastian Gniazdowski
055a1e9444
*install: Don't leak a helper function
2020-02-07 09:39:48 +01:00
Sebastian Gniazdowski
825bcf0292
*install: `ziextract' works with IRreGuLaR capitalization of extensions
2020-02-07 09:34:55 +01:00
Sebastian Gniazdowski
95987f742f
*install: `zpextract' – --auto doesn't match files that are 2-level deep
...
This is to prevent extracting of some internal files, some small helper
archives, etc.
2020-02-07 09:31:56 +01:00
Sebastian Gniazdowski
ba7720f79e
*autoload: Return on unsuccessful `cd'
2020-02-07 09:29:50 +01:00
Sebastian Gniazdowski
659aa64945
*install: Fix a bug with hook-running for gh-r plugins
2020-02-07 05:28:01 +01:00
Sebastian Gniazdowski
802d43351e
*install,*autoload: Nicer flag-checking code – less quoting and braces
2020-02-07 04:41:23 +01:00
Sebastian Gniazdowski
26dbb38626
*autoload: Remove annoying newline from the `update' messages
2020-02-07 04:35:20 +01:00
Sebastian Gniazdowski
7ece4767eb
*autoload: Add a missing update message
2020-02-07 04:33:27 +01:00
Sebastian Gniazdowski
b7708a5b47
*autoload: No newline before 1st plugin in quiet update
2020-02-07 04:25:05 +01:00
Sebastian Gniazdowski
34e6b744bc
*autoload: Better update-messages logic
2020-02-07 04:03:19 +01:00
Sebastian Gniazdowski
7d30af80ac
*install,*autoload: A flag ZINIT[annex-multi-flag:pull-active] that
...
informs annexes if any new commits are (to be) downloaded
2020-02-07 02:17:16 +01:00
Sebastian Gniazdowski
c4f340fec7
*install: `zpextract' – workaround gzip limitations
2020-02-06 23:52:18 +01:00
Sebastian Gniazdowski
d1cb96d929
*install: Compare the correct parameter (`zpextract')
2020-02-06 23:51:41 +01:00
Sebastian Gniazdowski
b92aad01a9
*install: Correctly handle gzip files and also filenames with colons
...
(`zpextract')
2020-02-06 23:50:19 +01:00
Sebastian Gniazdowski
4a03fc11b4
*install: Remove a debug print
2020-02-06 21:57:17 +01:00
Sebastian Gniazdowski
6cb642f412
*install: zpextract' – better --auto' multi-stage unpacking
2020-02-06 21:45:39 +01:00
Sebastian Gniazdowski
b120d64d3c
*install: Unpack plain 7z files (`zpextract')
2020-02-06 21:42:39 +01:00
Sebastian Gniazdowski
a3ec8a627f
*install: Recognize .7z and .tar.7z files in --auto extension searching
2020-02-06 21:41:33 +01:00
Sebastian Gniazdowski
ebdcefb8c4
*install: `zpextract' – avoid double extracting the archives; look for
...
one more file name
2020-02-06 21:12:00 +01:00
Sebastian Gniazdowski
06a916c14f
*install: Work around an xz limitation
2020-02-06 21:04:31 +01:00
Sebastian Gniazdowski
722191695f
*install: Recognize also xz and 7zip in --auto (`zpextract')
2020-02-06 21:03:35 +01:00
Sebastian Gniazdowski
db39711e94
*install: Better atclone'' ice testing (for value)
2020-02-06 21:00:37 +01:00
Sebastian Gniazdowski
47aa19ecf8
*install: FEATURE: zpextract's --auto mode now also uses the `file' tool
...
to search for the archives – no extension is needed! Use this e.g.: with
an id-as=a-word snippets to have the target file (i.e.: `a-word`)
correctly extracted.
2020-02-06 20:28:26 +01:00
Sebastian Gniazdowski
760108c8fa
*install: Support bz2 and xz archives (`ziextract')
2020-02-06 20:24:47 +01:00
Sebastian Gniazdowski
d05897c0b2
*install: zpextract' to recognize gzip' type, not only `gz'
2020-02-06 20:23:15 +01:00
Sebastian Gniazdowski
0b870c0fa9
*install: Fix a bug in ziextract' related to its --move' option
2020-02-06 20:06:33 +01:00
Sebastian Gniazdowski
10ad2ca8e9
*install: `ziextract' to detect also *.tar files
2020-02-06 19:42:47 +01:00
Sebastian Gniazdowski
643dcd9696
*install: FEATURE – ziextract' now has --auto' option → searches for
...
the file to extract on its own, by extension! Just invoke: ziextract
--auto in an atclone/atpull handler.
2020-02-06 18:42:57 +01:00
Sebastian Gniazdowski
5c0888e185
README.md
2020-02-06 16:51:55 +01:00
Sebastian Gniazdowski
6441c7c4b3
README.md,CHANGELOG.md: Move the entries, prune trailing history
2020-02-06 16:38:21 +01:00
Sebastian Gniazdowski
47b1dd357b
*install: Not all messages should be unsilenced
2020-02-03 20:25:34 +01:00
Sebastian Gniazdowski
28af08cf1f
*install,*autoload: Further no -q/--quiet silencing + color for message
2020-02-03 17:22:57 +01:00
Sebastian Gniazdowski
07a2c7883f
*autoload: `update' – no -q/--quiet for -r/--reset message
2020-02-03 17:16:58 +01:00
Sebastian Gniazdowski
b210cc884f
*autoload: `create' – use the alternate syntax
2020-02-01 23:03:33 +01:00
Sebastian Gniazdowski
899d4e5da4
*autoload: `create' – make the Plugins[] assignment quoted
2020-02-01 22:56:55 +01:00
Sebastian Gniazdowski
c1ac0cdca0
zinit: Improve the module recompilation message
2020-02-01 21:46:01 +01:00
Sebastian Gniazdowski
3510f6e30f
zinit: A more accurate message on the module rebuild
2020-02-01 21:32:49 +01:00
Sebastian Gniazdowski
deb9204723
zmodules/RECOMPILE_REQUEST
2020-02-01 21:29:07 +01:00
Sebastian Gniazdowski
13eec039f6
zinit: Full module rebuild on recompile request
2020-02-01 21:28:22 +01:00
Sebastian Gniazdowski
946e7b9aa1
zinit: Run make distclean before recompiling the module
2020-02-01 21:21:59 +01:00
Sebastian Gniazdowski
5e0abb7dce
zinit: Fix the PMSPEC assignment
2020-01-29 20:48:27 +01:00
Sebastian Gniazdowski
610ddbab73
zinit: Support new standard's feature: PMSPEC param describing the p-m
...
see: http://zdharma.org/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html#pmspec
2020-01-29 18:06:27 +01:00
Sebastian Gniazdowski
7d22e1b14e
README.md
2020-01-29 15:27:39 +01:00
Sebastian Gniazdowski
7971999eff
README.md
2020-01-29 15:16:55 +01:00
Sebastian Gniazdowski
f6145dff24
zinit: Use zselect for a more predictable sleep time
2020-01-29 14:20:37 +01:00
Sebastian Gniazdowski
f7d3ca8cf1
README.md
2020-01-28 14:33:36 +01:00
Sebastian Gniazdowski
7658383c53
*-output.zsh: Safer option setting
2020-01-28 10:53:55 +01:00
Sebastian Gniazdowski
d035bbec07
*install,*autoload: Exclude markdown files from the completions glob
2020-01-27 17:31:52 +01:00
Sebastian Gniazdowski
9013e6372b
_zinit: Better glob for completions
2020-01-27 17:30:44 +01:00
Sebastian Gniazdowski
416aa47e6c
*install: Fix the completion installation
2020-01-27 13:36:45 +01:00
Sebastian Gniazdowski
82869268c7
install.sh: Check also for an old zplugin-block before altering zshrc
...
Issue #259
2020-01-27 13:22:20 +01:00
Sebastian Gniazdowski
23a04b7725
*install: Skip the completions message if no completions were detected
2020-01-26 13:38:18 +01:00
Sebastian Gniazdowski
03a52f3e07
*install: FEATURE: No more messages for each installed completion
...
– count of the files is shown and they are put into INSTALLED_COMPS
array
2020-01-26 13:08:21 +01:00
Sebastian Gniazdowski
6581f2d8da
*autoload: Remove a debug print
2020-01-25 04:37:21 +01:00
Sebastian Gniazdowski
824c4568b2
*autoload: Support variables in the widget-chaining code
2020-01-25 04:33:17 +01:00
Sebastian Gniazdowski
c93a56f38c
*autoload: Widget chaining based on bindkey data
2020-01-25 04:32:53 +01:00
Sebastian Gniazdowski
614a342943
*autoload: Nicer messages about restoring bindkeys
2020-01-25 03:49:08 +01:00
Sebastian Gniazdowski
a0c1c090e1
*autoload: Correct original-widget search in chain restoring
2020-01-25 03:34:30 +01:00
Sebastian Gniazdowski
e30ae99278
*autoload: Fix the widget-restoration at unloading
2020-01-25 02:19:38 +01:00
Sebastian Gniazdowski
5c9efaabba
*autoload: Properly handle late-readonlyness of variable (p10k-yielded)
2020-01-25 01:31:40 +01:00
Sebastian Gniazdowski
a7ee58741e
*autoload: Remove unneeded quotings and add a comment
2020-01-25 01:31:01 +01:00
Sebastian Gniazdowski
d84c99199c
README.md: Fix the Gitter badges ( fixes #254 )
2020-01-23 16:42:25 +01:00
David O'Trakoun
21c862000c
add chmod command if directory needed creation
...
for auto-installed zinit, the homedir needs group perms off or else compaudit will complain at every step
also add quotes in case a naughty user uses spaces
2020-01-23 05:10:53 +01:00
Alexandros Kozak
1c579ba3ed
On Windows, the BusyBox executable can be busybox.exe
2020-01-23 05:05:09 +01:00
Sebastian Gniazdowski
e10d6894da
zinit: Improve compatibility with ignore_braces; fix a minor bug
2020-01-22 07:47:29 +01:00
Sebastian Gniazdowski
9f7d292b2a
*autoload: The module isn't renamed yet
2020-01-22 03:32:35 +01:00
Sebastian Gniazdowski
9dde5f9907
all: Switch the vim marks to more safe [[[ and ]]]
2020-01-22 03:17:48 +01:00
Sebastian Gniazdowski
504eeeb6f0
example-script: Set vim marks to [[[ and ]]] to avoid confusion with
...
nested substitutions
2020-01-22 03:14:10 +01:00
Sebastian Gniazdowski
f897a3185f
*autoload: `create' – set alternate vim marks to [[[ and ]]]
2020-01-22 03:13:33 +01:00
Sebastian Gniazdowski
cf52d94298
install.sh: Use `git describe --tags' as the source of the version
2020-01-22 01:37:53 +01:00
Sebastian Gniazdowski
3fe11a6452
zmodules/RECOMPILE_REQUEST: Request recompilation of the module
2020-01-22 01:33:35 +01:00
Sebastian Gniazdowski
8b112f7602
*autoload: Call the proper function name @zinit-substitute
2020-01-22 01:26:09 +01:00
Sebastian Gniazdowski
df91f499aa
*install: Support the Patch-Dl annex as requirement in the packages
2020-01-22 00:23:48 +01:00
Sebastian Gniazdowski
b609e272bb
README.md
2020-01-22 00:00:25 +01:00
Sebastian Gniazdowski
a4420dcc94
zinit: No warncreateglobal in *shadow-zstyle to mute unneeded warnings
2020-01-21 23:44:48 +01:00
Sebastian Gniazdowski
0b1c4578ca
*autoload: Fix a message on the module build and also a bug
2020-01-21 22:31:41 +01:00
Sebastian Gniazdowski
3c31b0aa0b
README.md
2020-01-21 21:57:48 +01:00
Sebastian Gniazdowski
24673d0c9e
zinit: Fix a minor snippet problem investigating the major problem #247
...
and #248
2020-01-21 15:44:30 +01:00
Sebastian Gniazdowski
89f90ea8c5
zinit: Fix a comment
2020-01-21 15:44:30 +01:00
romkatv
72a5317077
fix formatting in the installation status messages
...
'%F' is equivalent to '%0F'. It turns on black foreground. Replace
it with '%f', which is likely what was meant.
2020-01-21 14:24:13 +01:00
Sebastian Gniazdowski
df9b0638d5
example-script: Set the options earlier so that no quoting is needed
2020-01-20 10:33:19 +01:00
Sebastian Gniazdowski
6f22a7ac8a
example-script,*autoload: Introduce `Plugins' hash – to not pollute
...
the namespace
2020-01-20 10:30:21 +01:00
Sebastian Gniazdowski
c20547cd2d
*autoload: Bump the default year in `create'
2020-01-20 10:22:58 +01:00
Sebastian Gniazdowski
905ef877bb
all: Bump the year in copyright notice
2020-01-20 10:22:18 +01:00
Sebastian Gniazdowski
8e8f4efdf9
zinit: Improve bindmap'' handling
2020-01-20 06:56:44 +01:00
Sebastian Gniazdowski
930ad24d0a
zinit: Feature: if a bindmap'' starts with !, then the rhs is a widget
...
i.e.: bindmap'!"^ " -> magic-space' changes the widget bound, while
bindmap'^R -> ^T" changes the combination bound.
2020-01-20 06:49:42 +01:00
Sebastian Gniazdowski
51dc23108d
zinit: Improve bindmap handling
2020-01-20 06:42:29 +01:00
Sebastian Gniazdowski
9c87258f77
_zinit: Mute a warncreateglobal
2020-01-20 06:31:24 +01:00
Sebastian Gniazdowski
a6d3d6c0f4
zinit: Improve bindmap'' handling
2020-01-20 06:28:51 +01:00
Sebastian Gniazdowski
ae0b374ea9
Add empty files to suppress error messages from self-update
2020-01-19 17:02:07 +01:00
Sebastian Gniazdowski
c9d9379731
zinit: Temporarily disable the use of the module to suppress the error
...
messages after the name change
2020-01-19 16:58:40 +01:00
Sebastian Gniazdowski
aef3c9107e
README.md
2020-01-19 06:33:59 +01:00
Sebastian Gniazdowski
268ab3b082
README.md
2020-01-19 06:31:05 +01:00
Sebastian Gniazdowski
70c575c91d
README.md
2020-01-19 06:29:08 +01:00
Sebastian Gniazdowski
41c7b785aa
README.md
2020-01-18 13:20:13 +01:00
Sebastian Gniazdowski
9894836e43
zinit: Properly initialize ZINIT hash
2020-01-18 13:11:30 +01:00
Sebastian Gniazdowski
47a257e9b7
zinit: Remove a debug print
...
https://github.com/zinit-zsh/z-a-bin-gem-node/issues/5
2020-01-18 13:08:58 +01:00
Sebastian Gniazdowski
26faf12997
PROJECT RENAME Zplugin → Zinit. Hold your thumbs that everything will
...
work seamlessly.
2020-01-18 13:02:24 +01:00
Sebastian Gniazdowski
f7786298ee
PROJECT RENAME Zplugin → Zinit. Hold your thumbs that everything will
...
work seamlessly.
2020-01-18 12:57:48 +01:00
Sebastian Gniazdowski
f6c2a4d3da
Recompile request for the module
2020-01-18 12:51:08 +01:00
Sebastian Gniazdowski
bbc7e02c5e
README.md
2020-01-18 11:54:05 +01:00
Sebastian Gniazdowski
86ce8af92f
zinit: Ensure that zinit completion is properly installed
2020-01-18 11:40:02 +01:00
Sebastian Gniazdowski
b68458cf38
zinit: Guard that rm -rf will not delete unwanted files
2020-01-18 11:24:22 +01:00
Sebastian Gniazdowski
6989afc9b2
zinit: Update a comment
2020-01-18 11:23:58 +01:00
Sebastian Gniazdowski
1ca8f6856c
PROJECT RENAME Zplugin → Zinit. Hold your thumbs that everything will
...
work seamlessly.
2020-01-18 10:02:05 +01:00
Sebastian Gniazdowski
a80e2a58d8
*install,*autoload: Show the gh-r version on update
2020-01-17 04:30:37 +01:00
Sebastian Gniazdowski
41e85f9e8d
zplugin: Fix the teleid handling for packages
2020-01-17 04:29:18 +01:00
Sebastian Gniazdowski
4201a98162
zplugin,*install: Feature: -f/--force `update' option that by-passes the
...
out-of-date check for single-file snippets.
2020-01-15 21:32:32 +01:00
Sebastian Gniazdowski
c145f54ede
README.md
2020-01-15 21:16:05 +01:00
Sebastian Gniazdowski
5c546f154d
README.md
2020-01-15 21:04:45 +01:00
Sebastian Gniazdowski
2e00de370a
*install: Correct deciding on whether to re-download the snippet
2020-01-15 07:22:16 +01:00
Sebastian Gniazdowski
88dfe3fe35
*install: FEATURE: snippets now check remote-file modification time
...
before deciding whether to re-download. Doesn't work for GitHub files.
2020-01-15 07:16:31 +01:00
Sebastian Gniazdowski
dc5fced1c6
*install: zpextract supports --norm option preventing archive removal
2020-01-15 06:58:16 +01:00
Sebastian Gniazdowski
f0c86e9efd
README.md
2020-01-15 05:45:40 +01:00
Sebastian Gniazdowski
a8aea93d64
README.md
2020-01-15 05:11:34 +01:00
Sebastian Gniazdowski
df37d1945d
*install: *-mtime – redirect stderr
2020-01-14 10:35:13 +01:00
Sebastian Gniazdowski
b734ed84df
*install: *-mtime – don't return the time in future
2020-01-14 10:34:32 +01:00
Sebastian Gniazdowski
a16f1cddbf
*install: *-mtime – pass -L to curl to follow redirects
2020-01-14 10:33:44 +01:00
Sebastian Gniazdowski
2e6adddfcc
*autoload: Perform param'' substitutions in the atpull, atclone ices
2020-01-14 10:02:55 +01:00
Sebastian Gniazdowski
c7a433b231
*install: -zplg-eval forwards the return value
2020-01-14 10:01:58 +01:00
Sebastian Gniazdowski
d9475197a7
*install: Fix a bug that prevented the snippet atpulls from running
2020-01-14 10:00:56 +01:00
Sebastian Gniazdowski
b6bda8c30c
*install: Add countdown-ice handling to two places
2020-01-14 09:43:57 +01:00
Sebastian Gniazdowski
9e7629cb7b
*install: Remove backslash from \!${…
2020-01-14 09:43:06 +01:00
Sebastian Gniazdowski
fd64ae797b
*install: -zplg-get-url-mtime
2020-01-14 09:14:57 +01:00
Sebastian Gniazdowski
80e291de04
*autoload: Improve update messages
2020-01-13 04:24:03 +01:00
Sebastian Gniazdowski
1d519a6812
*autoload: Improve indentation
2020-01-13 04:23:39 +01:00
Sebastian Gniazdowski
feb65b8a7a
*autoload: Improve the update messages
2020-01-13 04:11:57 +01:00
Sebastian Gniazdowski
93c9b6418b
*autoload: Improve an update message
2020-01-13 04:05:59 +01:00
Sebastian Gniazdowski
be57fe26bc
*autoload: No blank lines between messages during `zplugin update --all'
2020-01-13 04:04:09 +01:00
Sebastian Gniazdowski
1c7e85e7f1
module: Don't compile /dev/null and ./
...
Fixes #241
2020-01-12 06:22:43 +01:00
Sebastian Gniazdowski
c8b56e60de
module: Extend logs
...
Issue #241
2020-01-12 06:21:58 +01:00
Sebastian Gniazdowski
76b8cd9d34
Update code documentation
2020-01-11 13:58:55 +01:00
Sebastian Gniazdowski
719a7d68dd
*install,*autoload: Make the mv'' and cp'' ices respect -q/--quiet
2020-01-11 10:54:06 +01:00
Sebastian Gniazdowski
3b59a8b6db
*install: -q/--quiet mutes completion-installation messages
2020-01-11 05:22:29 +01:00
Sebastian Gniazdowski
7b97002e28
*install: Mute file-snippet messages when -q/--quiet' given to update'
2020-01-11 05:18:45 +01:00
Sebastian Gniazdowski
fe81f481a7
*install,*autoload: -q/--quiet mutes @plugin-run-on-update messages
2020-01-11 05:16:02 +01:00
Sebastian Gniazdowski
b375a70c8b
*install: zpextract' respects -q/--quiet' option of `update'
2020-01-11 04:55:55 +01:00
Sebastian Gniazdowski
35dc3b1a76
*autoload: Fix the -q/--quiet' option of update'
2020-01-11 04:51:30 +01:00
Sebastian Gniazdowski
1ae2d458cd
*autoload: Hide the "Already up to date." message
2020-01-11 04:38:12 +01:00
Sebastian Gniazdowski
2b125e011e
*autoload: Correctly skip pull when needed
2020-01-11 04:37:34 +01:00
Sebastian Gniazdowski
99a1d9595e
doc/install.sh: Make the installer-added snippet download Zplugin
2020-01-08 03:39:03 +01:00
Sebastian Gniazdowski
6662b0ffe6
zplugin: Quote ices with backslashes
2020-01-07 22:31:11 +01:00
Sebastian Gniazdowski
dec6502c33
*side,*autoload: Add param'' to the ices lists. Please reinstall
...
any-node and any-node plugins – to make `zplg update' work.
2020-01-07 22:20:34 +01:00
Sebastian Gniazdowski
a8eff1b932
*install: Mark a place needing improvement
2020-01-05 07:23:25 +01:00
Sebastian Gniazdowski
ae3a7945c8
*autoload: Call preinit hooks at update of plugins
2020-01-04 05:34:39 +01:00
Sebastian Gniazdowski
9fa921aeb2
*autoload: emulate -LR zsh to one of functions
2020-01-04 05:33:37 +01:00
Sebastian Gniazdowski
c435d4e954
*install: `zpextract' – extend a message
2020-01-04 01:07:05 +01:00
Sebastian Gniazdowski
9bdbdeafde
*install: `zpextract' – extend an error message
2020-01-04 00:56:21 +01:00
Sebastian Gniazdowski
c793069c3e
Remove GALLERY.md
2019-12-31 21:32:12 +01:00
Sebastian Gniazdowski
54b1825e1b
zplugin: Set noaliases in *shadow-off
...
Issue #7
2019-12-29 03:50:39 +01:00
Sebastian Gniazdowski
b09d9d35ec
*install: A better message
2019-12-29 03:49:53 +01:00
Sebastian Gniazdowski
e78810f0ba
*install,*autoload: Remove a message when updating a gh-r plugin
2019-12-25 22:20:14 +01:00
Sebastian Gniazdowski
48bce17b91
*install: Consistent messages
2019-12-24 21:41:23 +01:00
Sebastian Gniazdowski
c09182ed67
zplugin,*install,*autoload: Better snippet-update support
2019-12-24 21:40:29 +01:00
Sebastian Gniazdowski
a3cd1f1c4a
*install: `zpextract' – unzip overwrites files
2019-12-24 19:26:02 +01:00
Sebastian Gniazdowski
9bd099c91a
*install: Unable to compile a snippet doesn't stop hooks from running
2019-12-24 18:40:15 +01:00
Sebastian Gniazdowski
fd74708e01
zplugin: Make the `run' subcommand work for snippets
2019-12-21 14:35:29 +01:00
Aloxaf
dbd791ea9d
module: fix auto compile
2019-12-20 21:25:26 +01:00
Sebastian Gniazdowski
97fd90f668
*install: `zpextract' – optional 2nd arg with the file type (extension)
2019-12-19 20:27:50 +01:00
Sebastian Gniazdowski
c87f0e3d84
*install: `zpextract' – support same name of archive and contained file
2019-12-19 20:25:56 +01:00
Sebastian Gniazdowski
962fc3293a
*install: Return the correct path from `zpextract' if --move was used
2019-12-19 19:18:50 +01:00
Sebastian Gniazdowski
a1265fcf0a
*install: Improve a message
2019-12-19 19:06:58 +01:00
Sebastian Gniazdowski
923eb44088
*install: A warning message when a package uses dl'' ice and no patch-dl
...
annex is being loaded.
2019-12-19 19:03:56 +01:00
Sebastian Gniazdowski
1240e893e7
zplugin: A new color
2019-12-19 17:54:05 +01:00
Sebastian Gniazdowski
caff3b4f05
*install: `zpextract' – strip preceding path from the files in a message
2019-12-19 17:46:11 +01:00
Sebastian Gniazdowski
ab7f07eb7c
*install: `zpextract' – protect against the containing directory holding
...
a file of the same name (when using --move).
2019-12-19 17:39:31 +01:00
Sebastian Gniazdowski
ba6ea4e655
*install: Fix param'' substituting in atclone'' contents for snippets
2019-12-19 17:31:35 +01:00
Sebastian Gniazdowski
7482fd572e
zplugin: Fix atload'!…' ice if used in conjunction with nocd
2019-12-19 17:23:36 +01:00
Sebastian Gniazdowski
0876826f50
zplugin: New automatic params: %OS%, %CPU%, %MACH%, %VENDOR%, %HOST%,
...
%UID% and %GID%
2019-12-19 17:16:02 +01:00
Sebastian Gniazdowski
109e9cd838
*install: Feature: `zpextract' supports extracting dmg images on OS X
2019-12-19 16:29:11 +01:00
Sebastian Gniazdowski
b0ba346eb4
*install: Fine tune a message
2019-12-19 16:27:45 +01:00
Sebastian Gniazdowski
1074b30773
zplugin: Change a color
2019-12-19 16:27:00 +01:00
Sebastian Gniazdowski
a3c5b615f1
*install: `zpextract' – uniform option setting
2019-12-19 14:16:09 +01:00
Sebastian Gniazdowski
fd6dc65185
*install: `zpextract' – additional check if the file exists
2019-12-19 14:14:25 +01:00
Sebastian Gniazdowski
e9ac79310d
*install: `zpextract' – improve messages
2019-12-19 14:13:54 +01:00
Sebastian Gniazdowski
e72f05c2a4
zplugin: A new color
2019-12-19 14:10:27 +01:00
Sebastian Gniazdowski
9b68157030
*install: Improve `zpextract' messages
2019-12-19 14:01:35 +01:00
Sebastian Gniazdowski
8a30bf6e15
zplugin: A new color for messages
2019-12-19 13:42:11 +01:00
Sebastian Gniazdowski
eca069ae05
*install: Better messages `zpextract'
2019-12-19 13:36:41 +01:00
Sebastian Gniazdowski
4a296d5880
zplugin: New colors from the 256 color palette
2019-12-19 13:36:00 +01:00
Sebastian Gniazdowski
391c26e3dc
zplugin: Fix handling of packages like `firefox-dev' → snippet based
2019-12-19 13:13:41 +01:00
Sebastian Gniazdowski
75d65ecbf4
*install: zpextract' – check if any file exists before calling file'
2019-12-19 12:53:43 +01:00
Sebastian Gniazdowski
5da759243e
*install: `zpextract' emits warning message if did not recognize archive
2019-12-19 12:52:17 +01:00
Sebastian Gniazdowski
08955794ca
*install: Allow arbitrary position of the --move option (of `zpextract')
2019-12-19 12:42:30 +01:00
Sebastian Gniazdowski
33a5ce077c
*install: `zpextract' removes archive only upon a successful extraction
2019-12-19 12:28:56 +01:00
Sebastian Gniazdowski
0366a36c5d
*install: FEATURE: A function `zpextract' available during installation.
...
Extracts any given archive file. --move causes: mv */* . to remove one directory level.
2019-12-19 12:20:21 +01:00
Sebastian Gniazdowski
c29c63f5e6
*autoload: Mute a warncreateglobal
2019-12-18 21:29:03 +01:00
Sebastian Gniazdowski
e986ddb2e4
zplugin: Call the preinit hooks also for update
2019-12-18 20:57:06 +01:00
Sebastian Gniazdowski
41c4e286ce
zplugin: Compress some assignment lines
2019-12-18 20:51:19 +01:00
Sebastian Gniazdowski
25afa4d997
zplugin: Allow atinit-hooks to interrupt the loading of plugin/snippet
2019-12-18 19:42:59 +01:00
Sebastian Gniazdowski
74405dcd82
zplugin: New hook type for annexes: preinit, run before cloning object
2019-12-18 19:41:24 +01:00
Sebastian Gniazdowski
49c3d79d99
zplugin: Use a better condition
2019-12-18 19:01:56 +01:00
Sebastian Gniazdowski
153730e37c
zplugin: Fix !-preceded wait'' behevior for explicit times
2019-12-18 18:57:16 +01:00
Sebastian Gniazdowski
e3095a6793
zplugin: Strip 1K of the main source file by removing unneeded quoting
2019-12-18 17:31:55 +01:00
Sebastian Gniazdowski
296d1fd0c7
zplugin: Fix !atinit hook calling
2019-12-18 16:44:09 +01:00
Sebastian Gniazdowski
c11cae2925
*install: Additional message when the profile for pack isn't found
2019-12-18 16:42:08 +01:00
Sebastian Gniazdowski
ff5db46475
*autoload: *create: Set text-width vim option to 80 in the created file
2019-12-18 16:05:26 +01:00
Sebastian Gniazdowski
d0c27b947f
doc/example-script: Set the vim text-width option to 80 and reformat
2019-12-18 16:03:39 +01:00
Sebastian Gniazdowski
703382a436
doc/example-script: The -R emulate option implies noautopushd, remove it
2019-12-18 14:51:18 +01:00
Sebastian Gniazdowski
61a5ca74ec
*install: Additional message during pack installation
2019-12-18 13:48:43 +01:00
Sebastian Gniazdowski
d92f23e4eb
*install: Correctly handle the required/requires fields in json
2019-12-18 13:34:32 +01:00
Sebastian Gniazdowski
84c136e7a7
zplugin: Fix Turbo with pack'' loadings
2019-12-16 01:51:08 +01:00
Vahid Hallaji
804fac6250
Update ohmyzsh remote url
2019-12-16 01:24:42 +01:00
Sebastian Gniazdowski
3864e5f3ca
README.md
2019-12-15 23:15:24 +01:00
Sebastian Gniazdowski
0a2e4a506b
README.md
2019-12-15 23:14:52 +01:00
Sebastian Gniazdowski
b3e593802e
README.md
2019-12-15 23:13:53 +01:00
Sebastian Gniazdowski
9d9f2bc743
README.md
2019-12-15 23:12:40 +01:00
Sebastian Gniazdowski
b0f9f6d15a
*install,*autoload: Feature: mv'' and cp'' ices can now have Unicode →
...
as separator, or no separator at all, i.e.: cp'README.md readme.md'.
2019-12-15 22:13:41 +01:00
Sebastian Gniazdowski
a6e8a6042e
*install: Silence a possible error message that's unimportant
2019-12-15 21:39:30 +01:00
Sebastian Gniazdowski
9051e6f5cd
*install: Add quoting
2019-12-13 20:57:14 +01:00
Sebastian Gniazdowski
67b8833fff
*autoload: Make `cuinstall' accept local absolute paths
2019-12-13 20:56:37 +01:00
Sebastian Gniazdowski
b57067e213
*autoload: Better options for *get-path
2019-12-13 20:56:09 +01:00
Sebastian Gniazdowski
1e345c6a0e
*autoload: A better message for cuninstall
2019-12-13 20:55:35 +01:00
Sebastian Gniazdowski
dcb5c154f0
zplugin,*install: Correctly implement the ice-append feature
2019-12-13 19:08:34 +01:00
Sebastian Gniazdowski
33cee7c2f8
zplugin: Feature: allow to append to package's ice by prepending the new
...
ice with +, e.g.: zplugin pack atload+"print Hi!" for dircolors-material
2019-12-13 18:53:07 +01:00
Sebastian Gniazdowski
1977d4632d
README.md
2019-12-13 15:47:45 +01:00
Sebastian Gniazdowski
054939db4c
README.md
2019-12-13 15:45:29 +01:00
Sebastian Gniazdowski
329bf795ca
Updated README.md
2019-12-13 15:43:00 +01:00
Sebastian Gniazdowski
726eb66af9
*install: Disconnect the packages from NPM registry, use GitHub directly
2019-12-13 12:58:23 +01:00
Sebastian Gniazdowski
78ad0dde6f
*install: Allow for the any-node package to work
2019-12-12 07:19:40 +01:00
Sebastian Gniazdowski
a052acf79f
zplugin: Correct the -zplgm-substitute param'' handling
2019-12-12 03:29:56 +01:00
Sebastian Gniazdowski
bed2d06e4e
zplugin: Pass "$@" to anonymous function needing it
2019-12-12 02:12:03 +01:00
Sebastian Gniazdowski
ad1073f866
zplugin: Quote assignments
2019-12-12 02:09:57 +01:00
Sebastian Gniazdowski
32dbc77d5b
zplugin: Correct id_as-overriding code
2019-12-12 02:08:12 +01:00
Sebastian Gniazdowski
d26f85ccd7
zplugin: Set extendedglob in -zplg-substitute
2019-12-12 02:01:13 +01:00
Sebastian Gniazdowski
ad12c6bc9f
zplugin: Localize (#m) parameters
2019-12-12 01:59:17 +01:00
Sebastian Gniazdowski
d24dad5ac6
zplugin,*install: Move -zplg-substitute to zplugin.zsh
2019-12-12 01:54:10 +01:00
Sebastian Gniazdowski
8ddde66c1d
zplugin: FEATURE: param'name → val' that'll substitute %name% with "val"
...
in installation-time ice-mods like atclone'', make'', atpull'', etc.
2019-12-12 01:44:32 +01:00
Sebastian Gniazdowski
8b15703c84
zplugin,*install: Allow for an NPM package to override id-as
2019-12-12 01:43:17 +01:00
Sebastian Gniazdowski
bcd131afca
*install: Substitute any %string%, not only the defined ones
2019-12-12 01:41:08 +01:00
Sebastian Gniazdowski
57e86118da
*install: Support for param'NAME -> VALUE' to replace %NAME% in ice-mods
2019-12-12 01:39:03 +01:00
Sebastian Gniazdowski
bdea78fea3
zplugin,*install: Allow binary from'gh-r' profiles in NPM packages
2019-12-11 19:00:57 +01:00
Sebastian Gniazdowski
b03a57e3fa
*install: Dequote the \" manually
2019-12-11 17:52:28 +01:00
Sebastian Gniazdowski
27b8fe5763
Revert "*install: Dequote json keys / fields"
...
This reverts commit 3ba3c53fa1 .
2019-12-11 17:49:31 +01:00
Sebastian Gniazdowski
4b9e18e275
README.md
2019-12-11 14:36:54 +01:00
Sebastian Gniazdowski
bea81696b7
*install: Correctly mute command -v
2019-12-09 22:01:15 +01:00
Sebastian Gniazdowski
447bcc11e6
*install: Add requires' alias for required' field in json
2019-12-09 22:00:35 +01:00
Sebastian Gniazdowski
583eb7c4bb
*install: Support the `required' field in package.json
2019-12-09 21:56:00 +01:00
Sebastian Gniazdowski
573c18f223
*install: Feature: atclone,atpull,make,mv,cp ices can use %ID%, %USER%,
...
%PLUGIN%, %DIR% keywords – they'll be substituted.
2019-12-09 21:14:57 +01:00
Sebastian Gniazdowski
aa1375dc1f
*install: Consistently set options
2019-12-09 20:12:54 +01:00
Sebastian Gniazdowski
3ba3c53fa1
*install: Dequote json keys / fields
2019-12-09 17:36:09 +01:00
Sebastian Gniazdowski
36894ec109
*install: Additional message when installing a NPM package
2019-12-09 17:06:44 +01:00
Sebastian Gniazdowski
bf99159466
*install: Post-process ices obtained from package.json
2019-12-09 17:05:47 +01:00
Sebastian Gniazdowski
b175125171
*install: Allow to use local package.json
2019-12-09 08:55:26 +01:00
Sebastian Gniazdowski
4569980f09
*install: Don't parse ( and ) in *parse-json
2019-12-09 08:17:11 +01:00
Sebastian Gniazdowski
4939bed94b
*install: Display the package version and message
2019-12-09 05:26:02 +01:00
Sebastian Gniazdowski
8f7107ad30
*install: Fix an error in condition
2019-12-09 05:25:31 +01:00
Sebastian Gniazdowski
b98ae45e73
zplugin,*install: Feature: snippet packages. Try with `zplugin pack for
...
ecs-cli', it'll install latest amazon-ecs-cli binary :)
2019-12-09 05:08:38 +01:00
Sebastian Gniazdowski
45bb7c3351
*install: Protect against unsuccessful mkdir
2019-12-08 08:07:01 +01:00
Sebastian Gniazdowski
86c4651a89
zplugin,*install: Move a code block in *get-package
2019-12-08 08:06:21 +01:00
Sebastian Gniazdowski
c5aff05951
zplugin,*install: Change the input of *get-package
2019-12-08 07:46:46 +01:00
Sebastian Gniazdowski
c3875d845f
zplugin: Correctly load ices from disk
2019-12-08 07:43:40 +01:00
Sebastian Gniazdowski
efb50adbc7
zplugin: Allow wait-like ices to be specified in NPM package
2019-12-08 02:48:33 +01:00
Sebastian Gniazdowski
536ea289ee
zplugin: Post-process ices loaded from disk
2019-12-08 02:48:07 +01:00
Sebastian Gniazdowski
70f49cb97f
zplugin,*side,*autoload: Add missing ices to the ices lists
2019-12-08 02:46:51 +01:00
Alexandros Kozak
72f7578498
Workaround for BusyBox less
2019-12-07 22:28:33 +01:00
Sebastian Gniazdowski
0c30c5da9a
*install: Truly allow overriding of npm-ices
2019-12-07 01:49:19 +01:00
Sebastian Gniazdowski
ed49e1b255
*install: Feature: Allow `$ZPFX' to appear in make'' (literally)
2019-12-06 22:49:58 +01:00
Sebastian Gniazdowski
e7c90f61f9
*install.zsh: Suppress a message for npm package install
2019-12-06 22:47:06 +01:00
Sebastian Gniazdowski
b54673b67c
*install: Correctly parse package.json
2019-12-06 22:15:03 +01:00
Sebastian Gniazdowski
7aaf46eb8e
*install.zsh: Optimize *parse-json
2019-12-06 22:14:08 +01:00
Sebastian Gniazdowski
abaec037c2
*install: Download the latest package version available
2019-12-06 19:27:36 +01:00
Sebastian Gniazdowski
82389c2530
*install: Add color to a message
2019-12-06 19:23:57 +01:00
Sebastian Gniazdowski
4b7d7957f7
zplugin,*side,*autoload: Add new ices pack'',git,verbose to ices lists
2019-12-06 19:20:54 +01:00
Sebastian Gniazdowski
034952186b
*install: Operation status messages for npm package handling
2019-12-06 19:13:20 +01:00
Sebastian Gniazdowski
d0afa450b0
zplugin,*install: FEATURE: Support for npm packages. Try it by issuing:
...
zplugin pack for fzy OR zplugin pack git for fzy OR zplugin pack"bgn" for fzy, etc.
2019-12-06 19:02:13 +01:00
Sebastian Gniazdowski
9d19a43889
*install: Use alternate syntax in *setup-plugin-dir
2019-12-06 19:00:06 +01:00
Sebastian Gniazdowski
f37f3a73d8
*install: Remove unnecessary quoting from *setup-plugin-dir
2019-12-06 18:47:13 +01:00
Sebastian Gniazdowski
5f7cd3be03
*install: Use emulate -LR zsh in *setup-plugin-dir
2019-12-06 18:37:30 +01:00
Sebastian Gniazdowski
d3750405cd
*install: Support for a tarball npm package
2019-12-06 17:12:56 +01:00
Sebastian Gniazdowski
c39203b79e
*install: Support for moving the files out of subdir in gh-r
2019-12-06 17:11:03 +01:00
Sebastian Gniazdowski
f29888742d
*install: Better exec detection in the gh-r code
2019-12-06 17:10:06 +01:00
Sebastian Gniazdowski
6f536946c3
*install: Support subdirectory github releases
2019-12-06 17:09:17 +01:00
Sebastian Gniazdowski
e28cab88c9
zplugin: Run scheduler from chpwd hook to aid load'[[ $PWD = … ]]' setups
2019-12-06 09:06:29 +01:00
Sebastian Gniazdowski
e8c9b2a243
zplugin: Set the unset option in remaining functions
2019-12-06 07:37:30 +01:00
Sebastian Gniazdowski
099601667b
zplugin: Make the unload/load ices to look at id-as
2019-12-06 07:31:52 +01:00
Sebastian Gniazdowski
8243958433
zplugin: Remove unneeded (@)
2019-12-06 07:30:47 +01:00
Sebastian Gniazdowski
53a6f99c5b
zplugin: Set the unset option in *shadow-autoload
2019-12-06 07:30:14 +01:00
Sebastian Gniazdowski
116dcaa71f
zplugin,*autoload: Move -zplg-unregister-plugin to *autoload.zsh
2019-12-05 13:15:48 +01:00
Sebastian Gniazdowski
5946db26fa
zplugin: Register plugins under original names in $zsh_loaded_plugins,
...
and not under id-as''. That's required by the standard.
2019-12-05 12:45:45 +01:00
Sebastian Gniazdowski
e838257f12
zplugin,*side,*autoload: FEATURE: atdelete'' ice – execute code when the
...
plugin or snippet is being removed with `zplugin delete …`.
Issue #216
2019-12-05 00:52:14 +01:00
Sebastian Gniazdowski
eb06d2d47b
*autoload: Advanced widget-unloading: recognize (match) more functions
2019-12-02 04:02:52 +01:00
Sebastian Gniazdowski
96cfd6230e
*autoload: `create' – correct *_DIR parameter name
2019-12-02 03:52:03 +01:00
Sebastian Gniazdowski
73c5759210
*autoload: Set options in *create
2019-12-02 03:51:25 +01:00
Sebastian Gniazdowski
9999eefabf
Updated README.md
2019-12-02 00:29:10 +01:00
Sebastian Gniazdowski
7e31cc3f30
zplugin: Update comment
2019-12-01 23:57:16 +01:00
Sebastian Gniazdowski
5f8bc8bd06
zplugin: Keep old ZSH_CACHE_DIR value if it's not empty
...
Issue #220
2019-12-01 21:47:29 +01:00
Sebastian Gniazdowski
6fc03f5f83
*autoload,example-script: `create': Emacs,Vim mode lines, copyright note
2019-11-26 21:22:11 +01:00
Sebastian Gniazdowski
22c6052c4a
doc/example-script: Correct grammar
2019-11-26 20:56:29 +01:00
Sebastian Gniazdowski
ea15c48cce
all: More detailed mode lines and copyright notice
2019-11-26 20:53:58 +01:00
Alexandros Kozak
420185cc2a
Check to make sure aliases exist before unaliasing
2019-11-26 20:46:19 +01:00
NICHOLAS85
4636b320ce
zplugin: Move id-as back to before trigger-laod
2019-11-26 20:10:06 +01:00
NICHOLAS85
047da15964
zplugin: Process trigger-load ice before others
2019-11-26 20:10:06 +01:00
Sebastian Gniazdowski
726413e38b
doc/example-script: Correct grammar
2019-11-25 17:08:24 +01:00
Sebastian Gniazdowski
4aaf34b8f6
doc/example-script: Reformat comments
2019-11-25 17:01:36 +01:00
Sebastian Gniazdowski
b270c1cb7a
doc/example-script: Quote the values before the emulation is being set
2019-11-25 16:46:43 +01:00
Sebastian Gniazdowski
8720ffad3f
doc/example-script: Extend
2019-11-25 16:42:35 +01:00
Sebastian Gniazdowski
85f6cd11a0
Updated README.md
2019-11-25 15:58:18 +01:00
Sebastian Gniazdowski
bc213056a9
README,*autoload: Document the new `run' subcommand from 31.10.2019
2019-11-25 15:08:04 +01:00
Sebastian Gniazdowski
b25370942b
doc: Move the test scripts into a subdirectory
2019-11-25 13:59:59 +01:00
Sebastian Gniazdowski
b1a5afd4f9
Delete doc/db
2019-11-25 13:58:54 +01:00
Sebastian Gniazdowski
63f678d60f
doc: Remove the asciidoc documents (they're available at the wiki)
2019-11-25 13:55:59 +01:00
Sebastian Gniazdowski
74602d912e
*autoload: `create': set up the global parameter with $0:h
2019-11-25 13:52:28 +01:00
Sebastian Gniazdowski
edda298407
*autoload: Feature: `create' includes an example script/function
2019-11-25 13:33:33 +01:00
Sebastian Gniazdowski
84d1578e0c
doc/example-script: An example type-agnostic script/function for create
2019-11-25 13:31:25 +01:00
Sebastian Gniazdowski
f2043f6e4e
Squashed commit of the following:
...
commit 279ca1ca192cb4c7565a0169b6997b80aa98e83d
Author: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Date: Sun Nov 24 12:18:21 2019 +0100
Revert "*autoload: Fix updating plugins with ver-ice Issue #210 "
This reverts commit 1b4dd4b071 .
commit 7ba87da02e2b484a8fe6c6b586be774ed663246f
Author: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Date: Sun Nov 24 12:18:00 2019 +0100
Revert "*autoload: Fix small formatting error"
This reverts commit 86b6fae1d1 .
commit c799f3de6bdd20183efa4acd768b6dfa3eda2745
Author: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Date: Sun Nov 24 12:17:59 2019 +0100
Revert "autoload*: Actually fix formatting error"
This reverts commit d821cbeae3 .
commit 04e67021796dbb6f7341a7367cbe3a3b0e0a0f39
Author: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Date: Sun Nov 24 12:17:56 2019 +0100
Revert "*autoload: Log up to ver'' if present, else FETCH_HEAD"
This reverts commit 8e73dc6b93 .
commit c3cc552ceabae367000d12e3c91405af4f156579
Author: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Date: Sun Nov 24 12:17:34 2019 +0100
Revert "*autoload: Condense git merge/pull command with ver"
This reverts commit 9d27854fac .
commit 9e9de6041ca74fdcbccb0a00d48bcc987e76881a
Author: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Date: Sun Nov 24 12:16:27 2019 +0100
Revert "*autoload: Respect -q/--quiet for up-to-date msg"
This reverts commit f8eb9be427 .
commit 30784f4130dec1c0ff5dc4b3cee43804c7dfcbdc
Author: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Date: Sun Nov 24 12:16:25 2019 +0100
Revert "*install: Fix updating gh-releases with ver-ice"
This reverts commit 3e951c742d .
commit 8f747fa08a55195df883279917e7d4c17a7085e9
Author: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Date: Sun Nov 24 12:16:23 2019 +0100
Revert "*autoload: Fix up-to-date message"
This reverts commit 45e4a1fa83 .
commit cb8b0d7e3ba6fb94d8d8e1c520600e40f669d091
Author: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Date: Sun Nov 24 12:15:35 2019 +0100
Revert "*install: Hide extra up-to-date msg for releases"
This reverts commit 1895af4c28 .
2019-11-24 12:31:01 +01:00
Sebastian Gniazdowski
cd2325a493
*autoload: Remove duplicate message
...
Issue #211
2019-11-24 11:53:52 +01:00
Sebastian Gniazdowski
c4490eefdf
*autoload: Fix the ver test
2019-11-24 11:52:55 +01:00
Sebastian Gniazdowski
4e0e48736f
*autoload: `create' adds unquoted, not quoted 0=… snippet
2019-11-24 06:52:01 +01:00
Sebastian Gniazdowski
a0dee2849b
*autoload: Feature: `create' adds the $fpath-extending snippet
...
to the created plugin.zsh
2019-11-24 06:49:21 +01:00
Sebastian Gniazdowski
7cff945438
*install: Improve json parsing
2019-11-24 06:38:04 +01:00
Sebastian Gniazdowski
acdee51cfe
*autoload: Silence the create's curl invocation
2019-11-24 06:34:17 +01:00
Sebastian Gniazdowski
af545bc89d
*install: Improve the json parsing
2019-11-24 03:36:40 +01:00
Sebastian Gniazdowski
e4115e0a49
install: Improve the json parsing. Get the main object from it
2019-11-24 02:38:28 +01:00
Sebastian Gniazdowski
025639317f
*install: Retrieve the desired profile from json, output error message
2019-11-24 02:03:26 +01:00
Sebastian Gniazdowski
d75de03c71
*install: Use the downloaded package.json
2019-11-24 02:02:59 +01:00
Sebastian Gniazdowski
d02d386b10
*install: Mute stderr of the package.json download
2019-11-24 01:59:47 +01:00
Sebastian Gniazdowski
c8da479f2e
*install: Download the package.json in a separate command
2019-11-24 01:36:33 +01:00
Sebastian Gniazdowski
7583e92686
*autoload: Ensure that the fix in #164 is preserved after #211
2019-11-24 00:00:16 +01:00
Sebastian Gniazdowski
e102002734
Travis: Try to run tests from the test directory
2019-11-23 23:57:04 +01:00
Sebastian Gniazdowski
e51fa433c1
Revert "*autoload: Investigate tests"
...
This reverts commit be59e5ba1b .
2019-11-23 22:59:40 +01:00
Sebastian Gniazdowski
f853706158
Revert "*autoload: Investigate tests"
...
This reverts commit f1f0293b64 .
2019-11-23 22:59:38 +01:00
Sebastian Gniazdowski
bc276b648e
Revert "*autoload: Investigate tests"
...
This reverts commit f5c84b8546 .
2019-11-23 22:59:34 +01:00
Sebastian Gniazdowski
f5c84b8546
*autoload: Investigate tests
2019-11-23 22:30:26 +01:00
Sebastian Gniazdowski
f1f0293b64
*autoload: Investigate tests
2019-11-23 22:04:19 +01:00
Sebastian Gniazdowski
be59e5ba1b
*autoload: Investigate tests
2019-11-23 21:59:05 +01:00
Sebastian Gniazdowski
8945613be8
*install: Use recent JSON parser
2019-11-23 20:33:32 +01:00
Sebastian Gniazdowski
7b653d5785
zplugin: Make the `subscribe' ice not be always created
2019-11-23 20:31:53 +01:00
NICHOLAS85
1895af4c28
*install: Hide extra up-to-date msg for releases
2019-11-23 20:26:17 +01:00
NICHOLAS85
45e4a1fa83
*autoload: Fix up-to-date message
2019-11-23 20:26:17 +01:00
NICHOLAS85
3e951c742d
*install: Fix updating gh-releases with ver-ice
2019-11-23 20:26:17 +01:00
NICHOLAS85
f8eb9be427
*autoload: Respect -q/--quiet for up-to-date msg
2019-11-23 20:26:17 +01:00
NICHOLAS85
9d27854fac
*autoload: Condense git merge/pull command with ver
2019-11-23 20:26:17 +01:00
NICHOLAS85
8e73dc6b93
*autoload: Log up to ver'' if present, else FETCH_HEAD
2019-11-23 20:26:17 +01:00
NICHOLAS85
d821cbeae3
autoload*: Actually fix formatting error
2019-11-23 20:26:17 +01:00
NICHOLAS85
86b6fae1d1
*autoload: Fix small formatting error
2019-11-23 20:26:17 +01:00
NICHOLAS85
1b4dd4b071
*autoload: Fix updating plugins with ver-ice Issue #210
2019-11-23 20:26:17 +01:00
Sebastian Gniazdowski
428bf62a0a
*install: Support for private repositories for binary release plugins,
...
as described in http://zdharma.org/zplugin/wiki/Private-Repositories/ , via from'user:password@gh-r'.
Issue #209
2019-11-23 19:27:05 +01:00
Sebastian Gniazdowski
697420bd31
*autoload: Remove unneeded quoting
2019-11-21 01:04:42 +01:00
Sebastian Gniazdowski
26da5a9f2a
*autoload: `times' recognizes as"null" plugins
2019-11-21 01:03:43 +01:00
Alexandros Kozák
45107777c3
${~ZPFX}/bin should be added to PATH only once ( #213 )
...
* ${~ZPFX}/bin should be added to PATH only once
* Protect against KSH_ARRAYS
* KSH_ARRAYS and SH_WORD_SPLIT
2019-11-18 18:44:00 +01:00
Sebastian Gniazdowski
30c5d99fbd
zplugin: A ksharrays-compatible code
2019-11-18 18:08:22 +01:00
Sebastian Gniazdowski
c740684632
zplugin: Protect agains the noclobber option
2019-11-18 18:07:29 +01:00
Sebastian Gniazdowski
c15e9e772b
zplugin: Remove a test condition. Thanks, @agkozak!
...
Fixes #214 .
2019-11-18 16:55:01 +01:00
Sebastian Gniazdowski
60094e8fb5
*autoload: Restore the update --all for snippets. Thanks @NICHOLAS85!
...
Issue #212
2019-11-17 09:51:38 +01:00
Sebastian Gniazdowski
5b30a454f5
*autoload: CD into the correct directory after `create'
2019-11-17 06:48:11 +01:00
Sebastian Gniazdowski
e5c7249f6e
*autoload: Feature: `create' copies a .gitignore file to the repository
2019-11-17 06:01:47 +01:00
Sebastian Gniazdowski
31a2e4cfff
*autoload: Feature: `create' can create repositories under organizations
2019-11-17 05:56:13 +01:00
Sebastian Gniazdowski
b9182bafce
doc/Zsh.gitignore
2019-11-17 05:33:20 +01:00
Sebastian Gniazdowski
855f11259a
zplugin,*install: Npm packages support: JSON parsing / getting ice-lists
2019-11-16 22:09:06 +01:00
Sebastian Gniazdowski
fc2df01ec1
zplugin: Intermediate code - loading of disk ices for the npm packages
2019-11-16 04:24:28 +01:00
Sebastian Gniazdowski
37dbe96965
zplugin: Speed-up scheduler more, c.a.: 200 ms gain after 10 plugins
2019-11-16 04:15:11 +01:00
Sebastian Gniazdowski
ba3d99db3d
*side,*autoload: Uniquify the extension ices
2019-11-16 03:54:44 +01:00
Sebastian Gniazdowski
87dd8a8c3b
zplugin: Withdrawn the slash ice syntax – it collides with e.g.:
...
pick"/root/script.zsh"
2019-11-16 03:48:49 +01:00
Sebastian Gniazdowski
7a33751908
*side: Remove the exceptions from *compute-ice
2019-11-16 01:17:38 +01:00
Sebastian Gniazdowski
d8907ef538
*side: Extend function comment, slight code reformat
2019-11-16 00:56:51 +01:00
Sebastian Gniazdowski
1b1233b30e
*side: Quote variable to make it more obvious shwordsplit-safe
2019-11-16 00:52:00 +01:00
Sebastian Gniazdowski
8e7ff98c00
*side: Use if instead of the unsafe && / || "ternary"
2019-11-16 00:51:08 +01:00
Sebastian Gniazdowski
1c46ec88d1
*side: Don't store empty file for a non-existent ice
2019-11-16 00:50:22 +01:00
Sebastian Gniazdowski
0b0d91bbb2
*autoload: Grasp the quotation done on FPATH/PATH tracking
...
PR #208
2019-11-15 18:26:56 +01:00
Sebastian Gniazdowski
639063f4ad
doc/install.sh: Replace the rarely supported by fonts ❯❯❯' with ▓▒░'
2019-11-15 18:06:03 +01:00
Sebastian Gniazdowski
5dba906985
_zplugin: Feature: complete parameter names for the env-whitelist subcmd
2019-11-15 17:29:32 +01:00
Sebastian Gniazdowski
b2dacaefab
zplugin: Fix no-arg detection
...
Issue #207
2019-11-10 22:19:39 +01:00
Sebastian Gniazdowski
90b08d92a8
zplugin: Automatically precede the plugin name with `@'
...
Issue #207
2019-11-10 20:20:21 +01:00
Sebastian Gniazdowski
1ac27be82f
zplugin: FEATURE: Support a new ice syntaxes: --wait=3 and wait/3, etc.
2019-11-09 02:58:51 +01:00
Sebastian Gniazdowski
f090574f64
zplugin: Fix the is-snippet ice
...
See https://github.com/zdharma/zplugin/commit/a45edcf2#commitcomment-35854893
2019-11-08 00:20:05 +01:00
Sebastian Gniazdowski
f8a8141e97
zplugin,*autoload: Two other places to have the option-parsing update
2019-11-08 00:14:42 +01:00
Sebastian Gniazdowski
8eeaf38c73
zplugin: Make the option-parsing match only separate strings
...
Issue #204
2019-11-08 00:04:20 +01:00
Sebastian Gniazdowski
93530a3b67
*side,*autoload: Fully add ices to the ices lists
2019-11-07 20:15:20 +01:00
Sebastian Gniazdowski
a20f99f50a
Updated README.md
2019-11-07 20:15:00 +01:00
Sebastian Gniazdowski
e2ddb3c687
Updated README.md
2019-11-07 18:47:23 +01:00
Sebastian Gniazdowski
4a61511b88
zplugin: Allow multiple options to be passed to snippet when using Turbo
2019-11-07 18:10:47 +01:00
Sebastian Gniazdowski
f408790aa8
zplugin: FEATURE: prefix for plugins/snippets `@': distinguish from ices
...
in the for-syntax, e.g.: sharkdp/fd needs this (collides with `sh'-ice).
2019-11-07 18:05:51 +01:00
Sebastian Gniazdowski
8ce7269dc6
Updated README.md
2019-11-07 16:23:42 +01:00
Sebastian Gniazdowski
935c613b2e
zplugin,*side,*autoload: Add `is-snippet' ice, for use with for-syntax
2019-11-07 13:47:25 +01:00
Sebastian Gniazdowski
fef75a0d29
zplugin.zsh: Update the merged trigger-load / for-support code
...
PR #202
2019-11-07 13:25:08 +01:00
NICHOLAS85
02226f5f08
zplugin:Allow trigger-load ice to work in for-syntax ( #202 )
...
* zplugin:Allow trigger-load ice to work in `for`-syntax
* zplugin:Remove duplicate code
2019-11-07 13:22:54 +01:00
Sebastian Gniazdowski
ae4024af95
zplugin: Fix mistake after 83925475
...
See 8392547590 (commitcomment-35843456)
2019-11-07 13:14:48 +01:00
Sebastian Gniazdowski
a45edcf21f
zplugin: Restore the via github-url loading of plugins
...
Issue #203
2019-11-07 13:09:58 +01:00
Sebastian Gniazdowski
6b81fcde7f
zplugin,*install,*autoload: Prevent shword-splitting
...
Issue https://github.com/zplugin/z-a-bin-gem-node/issues/1
2019-11-07 12:59:49 +01:00
Sebastian Gniazdowski
0af234d348
Updated README.md
2019-11-07 06:38:40 +01:00
Sebastian Gniazdowski
8392547590
zplugin: Restore the `subscribe' ice (for syntax)
2019-11-07 06:29:15 +01:00
Sebastian Gniazdowski
8922e5ab08
Updated README.md
2019-11-06 20:38:57 +01:00
Sebastian Gniazdowski
b6c50a29c7
zplugin: Remove code duplication – run classic syntax through for-syntax
...
code. Issue #198 , and also #199 .
2019-11-06 20:33:36 +01:00
Sebastian Gniazdowski
91c9f5161b
Update FUNDING.yml
2019-11-06 19:55:20 +01:00
Sebastian Gniazdowski
55f14987c4
zplugin,*side,*autoload: Rename the light' ice to light-mode'
2019-11-06 19:44:38 +01:00
Sebastian Gniazdowski
752f70500e
zplugin: Always append to the zsh_loaded_plugins array
2019-11-06 19:34:38 +01:00
Sebastian Gniazdowski
91e6816af2
zplugin: Add the missing Turbo support for the new `for'-syntax
2019-11-05 17:01:33 +01:00
Sebastian Gniazdowski
82290f72c4
zplugin: Use the service's ice value in the zpty name
2019-11-05 16:59:54 +01:00
Sebastian Gniazdowski
8c32fd03a9
*install,*autoload: Remove shwordsplit-problems detected by tests
...
Issue #200
2019-11-05 13:33:54 +01:00
Sebastian Gniazdowski
c16fd73fe8
zplugin: Make scheduler fully shwordsplit immune
...
Issue #200 . See also #193 .
2019-11-05 12:44:04 +01:00
Sebastian Gniazdowski
efab1d9049
*side,*autoload: Add the new `light' ice to the ices lists
2019-11-05 03:16:23 +01:00
Sebastian Gniazdowski
7f9aa6caa8
zplugin: FEATURE: Completely new syntax. No subcommands + default ices!
...
Example:
zplugin as"program" atload"print Hi\!" for \
atinit"print First\!" zdharma/null \
atinit"print Second\!" svn OMZ::plugins/git
The output:
First!
Hi!
Second!
Hi!
And also:
% print -rl $path | egrep -i '(/git|null)'
/root/.zplugin/snippets/OMZ::plugins/git
/root/.zplugin/plugins/zdharma---null
Issue #198
2019-11-05 03:13:14 +01:00
Sebastian Gniazdowski
bf3d1299f3
Updated README.md
2019-11-03 10:31:22 +01:00
Sebastian Gniazdowski
229e5ee178
Updated README.md
2019-11-03 10:28:18 +01:00
Sebastian Gniazdowski
0d2abcb985
zplugin: Less quoting in a few places
2019-11-03 10:12:26 +01:00
Sebastian Gniazdowski
b61ec20636
zplugin: Fix a typo-bug
2019-11-03 10:12:01 +01:00
Sebastian Gniazdowski
d95387af4f
Updated README.md
2019-11-03 10:11:38 +01:00
Sebastian Gniazdowski
77fb29eaff
zplugin,*install: FEATURE: as"null" – a shorthand for pick'/dev/null' &
...
nocompletions ices.
2019-11-03 08:17:45 +01:00
Sebastian Gniazdowski
8f93c3e772
Updated README.md
2019-11-03 06:50:18 +01:00
Sebastian Gniazdowski
f1e3d4798e
*-output.zsh: Display various progress-spinners side to the progress bar
2019-11-02 21:01:26 +01:00
Sebastian Gniazdowski
2cb91da460
_zplugin: Complete normal plugins before absolute-path ones
2019-11-02 21:00:34 +01:00
Sebastian Gniazdowski
66156aa089
_zplugin: More distinctive descriptions when completing + small fixes
2019-11-01 15:08:48 +01:00
Sebastian Gniazdowski
5126c2ac3a
Updated README.md
2019-11-01 14:03:01 +01:00
Sebastian Gniazdowski
dadaac9d27
Updated README.md
2019-11-01 13:58:26 +01:00
Sebastian Gniazdowski
c6461107cf
_zplugin: Change the order of completing dirs and plugins
2019-11-01 13:56:36 +01:00
Sebastian Gniazdowski
90d53d53cc
_zplugin: Small reformat and cleanup
2019-11-01 13:55:16 +01:00
Sebastian Gniazdowski
ee7d57902b
_zplugin: Add completion for run,fpath/add-fpath
2019-11-01 13:53:55 +01:00
Sebastian Gniazdowski
458a8601e6
_zplugin: Don't use emulate
2019-11-01 13:52:33 +01:00
Sebastian Gniazdowski
26aa6e206e
Updated README.md
2019-11-01 13:41:24 +01:00
Sebastian Gniazdowski
a49a47a82b
zplugin: FEATURE: run [-l|--last] [plugin] {command} – runs code inside
...
the plugin (not yet snippet) folder. -l/--last: use last one.
2019-10-31 16:11:59 +01:00
Sebastian Gniazdowski
64145065c5
zplugin: Make add-fpath KSH_ARRAYS compatible
2019-10-31 16:11:17 +01:00
Sebastian Gniazdowski
4b215bad7c
*autoload: Add add-fpath subcommand to the help
2019-10-31 15:30:04 +01:00
Sebastian Gniazdowski
af22b17c90
Updated README.md
2019-10-31 15:29:46 +01:00
Sebastian Gniazdowski
41ae848cfa
zplugin: FEATURE: fpath|add-fpath subcommand – it adds plugin (not yet
...
snippet) directory to the fpath, either appending or prepending it.
If an additional argument is given, it's appended to the directory.
2019-10-31 15:00:06 +01:00
Sebastian Gniazdowski
ed9d4ebf54
zplugin: Pass correct path to atinit hooks for absolute-path plugins
2019-10-31 14:48:58 +01:00
Sebastian Gniazdowski
0b97874fff
zplugin: Fix trigger-load
...
See https://github.com/zdharma/zplugin/commit/3deffd6#commitcomment-35737490
2019-10-30 22:52:35 +01:00
Sebastian Gniazdowski
3deffd690a
zplugin: Make trigger-load'' work without extendedglob set in the shell
...
See discussion at https://github.com/zdharma/zplugin/commit/625fdee
2019-10-30 22:33:53 +01:00
Sebastian Gniazdowski
9de26e9a5b
*install: Silence errors from compinit
2019-10-30 22:26:12 +01:00
Sebastian Gniazdowski
669d5a382e
zplugin: FIX: for Zsh < 5.0.8, make autoloading work again after 2c345ab
...
See #127
2019-10-30 22:12:06 +01:00
Sebastian Gniazdowski
1600895f47
zplugin: Solve the conflict between printexitvalue / $_ / $? handling
...
Issue #193
2019-10-30 19:46:03 +01:00
Sebastian Gniazdowski
6b9c2f08da
zplugin: Ensure that Turbo plugins are unloaded first & loaded second
2019-10-30 19:21:33 +01:00
Sebastian Gniazdowski
870ce252e4
zplugin: Shorten each scheduler run by 30-40ms – this much less delay
...
between plugins
2019-10-30 18:47:27 +01:00
Sebastian Gniazdowski
1367fa7397
Updated README.md
2019-10-30 17:05:19 +01:00
Sebastian Gniazdowski
8b2ee9421a
zplugin: Allow multiple trigger-loaders – separate with ;
2019-10-30 16:04:54 +01:00
Sebastian Gniazdowski
bc89c69619
Updated README.md
2019-10-30 14:29:04 +01:00
Sebastian Gniazdowski
5fcf0a995a
*side,*autoload: Add `trigger-load' to the ice lists
2019-10-30 14:28:17 +01:00
Sebastian Gniazdowski
24d31192e9
Updated README.md
2019-10-30 14:23:54 +01:00
Sebastian Gniazdowski
625fdee41c
zplugin: FEATURE: trigger-load'' ice – create a function that loads the
...
plugin/snippet, with an option to automatically forward the call afterwards.
2019-10-30 14:16:46 +01:00
Sebastian Gniazdowski
c70cdde2f5
*autoload: Format a code
2019-10-30 14:14:43 +01:00
Sebastian Gniazdowski
dc3ad4a7a5
*side: Correctly handle no* ices
2019-10-27 19:02:22 +01:00
Sebastian Gniazdowski
258842c2ef
*side: Correctly handle no* ices
2019-10-27 18:46:33 +01:00
Sebastian Gniazdowski
2e0556aecb
zplugin: Allow no* prefix for ices
2019-10-27 18:35:25 +01:00
Sebastian Gniazdowski
8cbf5b40d5
zplugin: Fix the cclear command
2019-10-27 17:10:34 +01:00
Sebastian Gniazdowski
93b8a12a62
zplugin: Detect improper commands again
2019-10-27 14:28:32 +01:00
Sebastian Gniazdowski
2c345abcd6
zplugin: Use $fpath not $FPATH to allow colons in the paths
...
Issue #192
Also see:
https://github.com/zdharma/zplugin/commit/ecf0bf3e59
https://github.com/zdharma/zplugin/commit/ea9302b509
Issue #127
2019-10-24 20:53:17 +02:00
Sebastian Gniazdowski
6e4a29d46f
*autoload: Follow the Standard – on-unload code ran in plugin directory
2019-10-24 14:51:46 +02:00
Sebastian Gniazdowski
4b7e68eef4
*install,*autoload: CD to plugin/snippet dir when running on-update code
2019-10-24 14:38:12 +02:00
Sebastian Gniazdowski
4dce4e79ed
*install: Correct execution of the on-update code
2019-10-24 14:36:16 +02:00
Sebastian Gniazdowski
8b4480379b
all: Implement Plugin Standard @zsh-plugin-run-on-update function - it
...
registers code to be run on update of the plugin.
2019-10-23 22:39:39 +02:00
Sebastian Gniazdowski
e99b8fa77b
*side: *compute-ice takes true static ice precedence
2019-10-23 22:38:29 +02:00
Sebastian Gniazdowski
ce13375767
*side,*autoload: Include ps-on-unload Plugin Standard implementation ice
2019-10-23 22:36:24 +02:00
Sebastian Gniazdowski
5fb79c47ae
zplugin,*autoload: New Plugin Standard mechanism: @zsh-plugin-on-unload
...
function: it registers code to run when unloading the plugin.
2019-10-23 22:06:06 +02:00
Sebastian Gniazdowski
76ba9711f3
_zplugin: Silence a warncreateglobal
2019-10-23 21:57:13 +02:00
Sebastian Gniazdowski
161d535645
_zplugin: Remove unused hash
2019-10-23 21:56:58 +02:00
Sebastian Gniazdowski
e8f343369f
*autoload: Correct vim folds around a function
2019-10-23 21:43:35 +02:00
Sebastian Gniazdowski
a6c1a5ca26
*autoload: Glob dotted directories at `delete --all'
...
Issue #190
2019-10-23 13:38:13 +02:00
Sebastian Gniazdowski
7bddbfa0d8
Updated README.md
2019-10-22 22:07:31 +02:00
Sebastian Gniazdowski
2e9f0dca2a
*autoload: Correct detection if atpull'' given
2019-10-22 21:53:26 +02:00
Sebastian Gniazdowski
572740c99e
*install,*autoload: The countdown is activated also for `make' ice
2019-10-22 21:43:31 +02:00
Sebastian Gniazdowski
fae4919b2e
*install: The message about downloading a snippet enumerates curl first
2019-10-22 21:40:06 +02:00
Sebastian Gniazdowski
2f94722d99
*install: Correctly detect if atpull'' given
2019-10-22 21:37:39 +02:00
Sebastian Gniazdowski
57dc145c17
Updated README.md
2019-10-22 21:24:02 +02:00
Sebastian Gniazdowski
db60fa82aa
*autoload,README: Document the `countdown' ice.
2019-10-22 21:22:00 +02:00
Sebastian Gniazdowski
12d26c2684
all: FEATURE: New ice `countdown' – countdown before atclone,atpull ices
...
It'll display 5…4…3…2…1…0 countdown before running the atclone, atpull ices.
2019-10-22 21:16:44 +02:00
Sebastian Gniazdowski
95d2e738b3
zplugin: Provide compdef shadowing for as"command" plugins
...
Issue #188
2019-10-22 14:13:39 +02:00
Sebastian Gniazdowski
5846d3601f
_zplugin: setopt autopushd, for sake of set of developed common options
2019-10-21 20:20:28 +02:00
Sebastian Gniazdowski
765206c737
zplugin: Measure the loading moments of times -m from the prompt time
2019-10-21 12:35:34 +02:00
Sebastian Gniazdowski
3cf996b7b2
_zplugin: Separate downloaded snippets and already loaded snippets
2019-10-21 12:29:49 +02:00
Sebastian Gniazdowski
4ac535e4dc
zplugin: Shorter sleep time before reschedule
2019-10-21 12:26:29 +02:00
Sebastian Gniazdowski
7d8076c6be
*autoload,README: Information on the new `times' option
2019-10-21 12:21:43 +02:00
Sebastian Gniazdowski
dc1fc5897b
zplugin,*autoload: FEATURE: plugin loading *moments* with `zpl times -m'
2019-10-21 12:15:33 +02:00
Sebastian Gniazdowski
284b42ffb0
zplugin: Separate files & dirs from plugins & snippets in completion
2019-10-21 11:36:39 +02:00
Sebastian Gniazdowski
752719d3ce
Performance status 10/20/2019
...
zsh-5.7.1-dev-0, make testp2
-zplg-compinit:28: compinit: function definition file not found
num calls time self name
-----------------------------------------------------------------------------------
1) 2800 4315.80 1.54 63.43% 3787.39 1.35 55.66% --zplg-shadow-bindkey
2) 200 6659.73 33.30 97.88% 453.63 2.27 6.67% -zplg-load-plugin
3) 2800 445.50 0.16 6.55% 445.50 0.16 6.55% is-at-least
4) 400 323.05 0.81 4.75% 323.05 0.81 4.75% -zplg-diff-parameter
5) 2000 375.35 0.19 5.52% 317.47 0.16 4.67% --zplg-shadow-zle
6) 10400 295.94 0.03 4.35% 295.94 0.03 4.35% -zplg-add-report
7) 600 263.16 0.44 3.87% 202.17 0.34 2.97% --zplg-shadow-alias
8) 1000 240.64 0.24 3.54% 191.27 0.19 2.81% --zplg-shadow-autoload
9) 1400 210.76 0.15 3.10% 171.54 0.12 2.52% --zplg-shadow-zstyle
10) 2800 4410.70 1.58 64.82% 94.89 0.03 1.39% bindkey
11) 400 58.61 0.15 0.86% 58.61 0.15 0.86% -zplg-diff-functions
12) 200 6761.51 33.81 99.37% 57.94 0.29 0.85% -zplg-load
13) 400 494.94 1.24 7.27% 44.78 0.11 0.66% -zplg-diff
14) 2000 419.23 0.21 6.16% 43.88 0.02 0.64% zle
15) 200 6798.63 33.99 99.92% 37.12 0.19 0.55% zplugin
16) 400 36.96 0.09 0.54% 36.96 0.09 0.54% -zplg-diff-options
17) 400 31.54 0.08 0.46% 31.54 0.08 0.46% -zplg-diff-env
18) 1400 240.97 0.17 3.54% 30.21 0.02 0.44% zstyle
19) 200 152.76 0.76 2.25% 27.63 0.14 0.41% select-word-style
20) 200 27.28 0.14 0.40% 27.28 0.14 0.40% -zplg-register-plugin
21) 200 67.89 0.34 1.00% 25.73 0.13 0.38% add-zsh-hook
22) 200 23.05 0.12 0.34% 23.05 0.12 0.34% -zplg-shadow-on
23) 1000 263.05 0.26 3.87% 22.41 0.02 0.33% autoload
24) 200 18.66 0.09 0.27% 18.66 0.09 0.27% -zplg-shadow-off
25) 600 276.59 0.46 4.06% 13.44 0.02 0.20% alias
26) 200 8.35 0.04 0.12% 8.35 0.04 0.12% -zplg-pack-ice
27) 200 8.21 0.04 0.12% 8.21 0.04 0.12% -zplg-any-to-user-plugin
28) 1 6804.26 6804.26 100.00% 5.63 5.63 0.08% (anon)
Measured time: 6.804
A rare result, most were ~7.08–7.12
zsh-5.7.1-dev-0, make testp2
num calls time self name
-----------------------------------------------------------------------------------
1) 200 481.75 2.41 82.59% 232.15 1.16 39.80% -zplg-load-plugin
2) 1000 176.38 0.18 30.24% 140.80 0.14 24.14% --zplg-shadow-autoload
3) 200 555.14 2.78 95.17% 40.80 0.20 6.99% -zplg-load
4) 2000 39.77 0.02 6.82% 39.77 0.02 6.82% -zplg-add-report
5) 200 580.46 2.90 99.52% 25.32 0.13 4.34% zplugin
6) 200 20.12 0.10 3.45% 20.12 0.10 3.45% -zplg-register-plugin
7) 200 48.49 0.24 8.31% 18.77 0.09 3.22% add-zsh-hook
8) 1000 193.44 0.19 33.16% 17.06 0.02 2.92% autoload
9) 200 14.42 0.07 2.47% 14.42 0.07 2.47% select-word-style
10) 200 9.67 0.05 1.66% 9.67 0.05 1.66% -zplg-shadow-on
11) 200 9.10 0.05 1.56% 9.10 0.05 1.56% -zplg-shadow-off
12) 200 6.31 0.03 1.08% 6.31 0.03 1.08% -zplg-pack-ice
13) 200 6.16 0.03 1.06% 6.16 0.03 1.06% -zplg-any-to-user-plugin
14) 1 583.28 583.28 100.00% 2.83 2.83 0.48% (anon)
-----------------------------------------------------------------------------------
14) 1 583.28 583.28 100.00% 2.83 2.83 0.48% (anon)
200/200 580.46 2.90 99.52% 25.32 0.13 zplugin [5]
Measured time: 0.583
2019-10-20 22:48:36 +02:00
Sebastian Gniazdowski
8cc89191ca
Updated README.md
2019-10-20 22:42:14 +02:00
Sebastian Gniazdowski
356e1ae469
zplugin: FEATURE: the subcommand `ice' can now be skipped – just pass
...
the ices, e.g.: zplugin blockf atload"zpcompinit"; zplugin load zsh-users/zsh-completions
2019-10-20 22:37:59 +02:00
Sebastian Gniazdowski
2dc85223df
zplugin: Further simplify the ice-related code
2019-10-20 22:37:27 +02:00
Sebastian Gniazdowski
c12ed5f5e9
zplugin: Remove unnecessary ice-related code complexity
2019-10-20 22:22:28 +02:00
Sebastian Gniazdowski
3ec8ade712
Updated README.md
2019-10-20 21:56:47 +02:00
Sebastian Gniazdowski
8b1d1518ac
zplugin: A feature: plugins using $fpath to subdirs can be now blockf-ed
2019-10-20 21:38:47 +02:00
Sebastian Gniazdowski
58146d450a
zplugin: Missing changes for the previous commit
2019-10-20 21:38:01 +02:00
Sebastian Gniazdowski
2587955beb
zplugin: Provide correct fpath for autoload -w and +X calls
2019-10-20 21:37:19 +02:00
Sebastian Gniazdowski
830d459be7
*side,*install,*autoload: Move -zplg-compute-ice into zplugin-side.zsh
2019-10-20 19:19:37 +02:00
Sebastian Gniazdowski
d996585c2a
*install: Ensure that -zplg-compute-ice exists
2019-10-20 19:14:08 +02:00
Sebastian Gniazdowski
4dd82e3605
*install: FEATURE: `zplugin compile' supports compiling snippets
2019-10-20 19:03:31 +02:00
Sebastian Gniazdowski
c48ca9c0fc
*install: Snippets to respect nocompile ice
2019-10-20 19:02:11 +02:00
Sebastian Gniazdowski
f8a80151e3
*autoload: FEATURE: `edit' now supports also editing snippets
2019-10-20 17:05:41 +02:00
Sebastian Gniazdowski
1c5beb6c22
_zplugin: Silence a warncreateglobal
2019-10-20 16:41:19 +02:00
Sebastian Gniazdowski
f2b1b857e7
_zplugin: FEATURE: delete, recall, cd, etc. have also snippets completed
2019-10-20 16:32:14 +02:00
Sebastian Gniazdowski
67f4f58b9f
_zplugin: FEATURE: completion for `snippet' command completes snippets
2019-10-20 16:21:05 +02:00
Sebastian Gniazdowski
cd0cb54c21
*install,*autoload: Reject .js files as possible completions
2019-10-19 19:08:52 +02:00
Sebastian Gniazdowski
354bd5e4dd
*install: No additional new line after "Symlinking completion …" message
2019-10-18 22:13:11 +02:00
Sebastian Gniazdowski
1b4ba71ecd
*autoload: Make `zplugin bindkeys' work again
2019-10-18 20:47:41 +02:00
Sebastian Gniazdowski
2080925dfa
_zplugin: Declare local curcontext and don't localize context
2019-10-18 20:18:39 +02:00
Sebastian Gniazdowski
7693af0862
zplugin: Remove stray whitespace
2019-10-18 17:55:45 +02:00
Sebastian Gniazdowski
015ab5fb4b
zplugin: Mention in the report that atload! ice is being executed
2019-10-18 17:55:06 +02:00
Sebastian Gniazdowski
7921d769f3
zplugin: Correctly invoke !atload hooks
2019-10-18 17:54:08 +02:00
Sebastian Gniazdowski
60fb797ff5
*install,*autoload: Don't treat some popular extensions as completions
2019-10-17 04:13:55 +02:00
Sebastian Gniazdowski
e3bae96ebc
Revert "zplugin: Return 0 from scheduler if printexitvalue is set"
...
This reverts commit 7a2338ab8a .
PR #185
2019-10-17 00:50:24 +02:00
Sebastian Gniazdowski
86aa5ec71f
*autoload: Mute a warncreateglobal warning
2019-10-16 23:36:01 +02:00
Sebastian Gniazdowski
5875131bea
zplugin: Add $ZPFX/bin to $PATH
2019-10-16 23:29:33 +02:00
Sebastian Gniazdowski
cdcc76a375
Remove accidentally commited file, thanks @b0o!
...
ca4764fe97
2019-10-16 23:23:42 +02:00
Sebastian Gniazdowski
9e2c112ca1
zplugin: Make the keyboard activation in-between plugins more certain
...
https://www.reddit.com/r/zsh/comments/dhqw2c/does_zplugin_turbo_mode_reduce_zsh_startup_time/f3tq9ri/?context=3
2019-10-15 16:59:40 +02:00
Sebastian Gniazdowski
c0d14e5768
*autoload: Use print' instead of echo'
2019-10-15 16:57:18 +02:00
Sebastian Gniazdowski
a52b569e87
zplugin: Use print' instead of echo'
2019-10-15 16:55:42 +02:00
Sebastian Gniazdowski
a1a6673e19
*autoload: FEATURE – more in-depth ouput in `times' – mention sbin'' ice
...
and fbin'' (z-a-bin-gem-node annex), pick'/dev/null' && make, etc.
2019-10-15 16:18:26 +02:00
Sebastian Gniazdowski
54118ff71b
zplugin: Do reschedule after every plugin/snippet
2019-10-15 13:00:20 +02:00
Sebastian Gniazdowski
9ac7ab373b
zplugin: FEATURE: Make the Turbo mode more in-background – keyboards is
...
being activated in between of plugins IN THE SAME time-slot.
https://www.reddit.com/r/zsh/comments/dhqw2c/does_zplugin_turbo_mode_reduce_zsh_startup_time/
2019-10-15 12:13:15 +02:00
Sebastian Gniazdowski
d0300d0343
*install,*autoload: Call -zplg-compinit on cinstall and cuninstall
2019-10-14 14:36:01 +02:00
Sebastian Gniazdowski
f7caba32e1
*install,*autoload: Move -zplg-compinit to *install.zsh
2019-10-14 14:35:07 +02:00
Sebastian Gniazdowski
9fc9d26db1
*install,*autoload: Accept dots in completion file names
...
https://www.reddit.com/r/zsh/comments/dhow17/loading_dotdrop_completions_with_zplugin/
2019-10-14 14:33:39 +02:00
Sebastian Gniazdowski
382c3e6617
doc/zplugin.1: A new man=page for `zplugin man' rendered with remark-man
2019-10-13 14:33:18 +02:00
Sebastian Gniazdowski
82dbecd0da
zplugin: Use Zsh 5.0.2 compliant syntax
...
Issue #182
2019-10-13 12:30:00 +02:00
Sebastian Gniazdowski
d8d8837e55
doc/install.sh: Use unexpanded $HOME in the zshrc code block
...
Fixes #179
2019-10-13 11:00:30 +02:00
Sebastian Gniazdowski
10b37c293a
Updated README.md
2019-10-12 09:05:44 +02:00
Sebastian Gniazdowski
0066daddeb
zplugin: FEATURE: id-as"auto" – sets plugin/snippet ID at last component
...
of the spec, e.g. hlissner/zsh-autopair will become `zsh-autopair'
2019-10-12 08:59:59 +02:00
Sebastian Gniazdowski
bed7025eb0
zplugin: Improve snippet loading
2019-10-12 08:59:36 +02:00
Sebastian Gniazdowski
db11628801
*install: Better format code
2019-10-12 08:58:33 +02:00
Sebastian Gniazdowski
4c10ff5ba7
*install,*autoload: Uplift – compact output of `compinit' subcommand
2019-10-11 15:15:37 +02:00
Sebastian Gniazdowski
2ea6b0926b
zplugin: Shorter autoload stub
2019-10-07 18:32:35 +02:00
Sebastian Gniazdowski
3445be2266
*autoload: Uplift plugin unloading
2019-10-07 18:22:22 +02:00
Sebastian Gniazdowski
fe04aa64a6
*autoload: Better detection of snippets on delete, cd, etc.
...
Issue #178
2019-10-07 08:14:56 +02:00
Sebastian Gniazdowski
967da93597
*install: Don't compile pick"/dev/null"
2019-10-07 07:04:34 +02:00
Sebastian Gniazdowski
c6dfe4463c
zplugin: Better handling of pick"/dev/null"
2019-10-07 07:01:17 +02:00
Sebastian Gniazdowski
be0690329d
*install: Silence a zcompile
2019-10-07 06:55:35 +02:00
Sebastian Gniazdowski
8c7735bc5a
*install: Use of alternate syntax
2019-10-07 06:55:09 +02:00
Sebastian Gniazdowski
82b28af298
*install: Better compilation of snippets
2019-10-07 06:54:32 +02:00
Sebastian Gniazdowski
dbef150401
zplugin: Simplify *load-plugin code
2019-10-06 07:25:54 +02:00
Sebastian Gniazdowski
e8f9b98ac6
*autoload: Uniquify a file list
2019-10-06 07:19:39 +02:00
Sebastian Gniazdowski
28884e53fc
zplugin: Don't cd into the snippet's directory when multisrc'' given
...
Issue #176
2019-10-05 11:09:12 +02:00
Sebastian Gniazdowski
121cee43f4
zplugin: Feature: CD into plugin/snippet dir before matching multisrc''
...
Issue #176
2019-10-05 10:50:31 +02:00
Sebastian Gniazdowski
150a6651cb
zplugin: Detect all scripts when loading snippets
...
Issue #176
2019-10-05 10:37:13 +02:00
Sebastian Gniazdowski
839483b8ad
zplugin: Explicitly detect init.zsh
2019-10-05 10:33:24 +02:00
Sebastian Gniazdowski
4b45e65125
zplugin,*autoload: `delete' supports -y/--yes options to prevent asking
2019-10-05 09:05:10 +02:00
Sebastian Gniazdowski
028b1e1d6d
zplugin: Make options passed to snippet survive in turbo mode
...
Issue #175
2019-10-04 09:56:06 +02:00
Sebastian Gniazdowski
07ed026cfa
zplugin: Allow to run `update' without args if id-as'' or teleid'' given
2019-10-03 14:21:13 +02:00
Sebastian Gniazdowski
c72327d627
zplugin: Ensure that ZSH_CACHE_DIR exists
...
Issue #174
2019-10-03 05:31:44 +02:00
Sebastian Gniazdowski
0c8d20885e
zplugin: Support OMZ's ZSH_CACHE_DIR on which OMZ kubctl plugin relies
...
Issue #174
2019-10-03 05:26:16 +02:00
Sebastian Gniazdowski
823669c525
*install: More globbing of dotted files
2019-10-01 21:02:14 +00:00
Sebastian Gniazdowski
3107711e01
zplugin: Use the workaround after exec
2019-10-01 05:34:11 +00:00
Sebastian Gniazdowski
7610a06fe1
*autoload: A fix for a message
2019-10-01 05:33:12 +00:00
Sebastian Gniazdowski
6f0c9f2913
all: Glob dotted files
...
Issue #173
2019-10-01 05:23:04 +00:00
Sebastian Gniazdowski
941cef9963
zplugin: Change to annexes: !atload means: run during tracking enabled,
...
which also means to run it before the atload'' ice (no change in this).
2019-09-29 21:34:06 +02:00
Sebastian Gniazdowski
0932f3e85d
*install: Make *file-stdout more reliable
2019-09-28 10:52:17 +02:00
Sebastian Gniazdowski
7d15be5865
*install: Rearrange a snippet message
2019-09-28 07:54:29 +02:00
Sebastian Gniazdowski
02ad6019ac
*install: A message easier on eyes
2019-09-28 02:57:50 +02:00
Sebastian Gniazdowski
a34de87faf
doc/mod-install.sh: Use --without-tcsetpgrp with configure
2019-09-27 11:21:26 +02:00
Sebastian Gniazdowski
d5aa57a998
doc/install.sh: Output the version of installed Zplugin
2019-09-27 11:11:11 +02:00
Sebastian Gniazdowski
4bf788814a
*autoload: Build module with --without-tcsetpgrp
2019-09-27 10:40:38 +02:00
Sebastian Gniazdowski
7a2338ab8a
zplugin: Return 0 from scheduler if printexitvalue is set
...
Issue #172
2019-09-26 23:49:26 +02:00
Gwon Seonggwang
3a2e8e8dbf
*install: Support tar archives (from"gh-r")
2019-09-21 19:13:00 +02:00
Sebastian Gniazdowski
ca4764fe97
zplugin: Add ZPFX/bin to PATH
2019-09-20 01:12:59 +02:00
Sebastian Gniazdowski
b980e06a93
*autoload: -zplg-delete – also list regular files
2019-09-18 13:47:09 +02:00
Sebastian Gniazdowski
c8a811a960
*autoload: -zplg-delete – list files also for plugins and svn snippets
2019-09-18 13:40:17 +02:00
Sebastian Gniazdowski
a657e7c8eb
*autoload: Pass teleid to atdelete hooks
2019-09-18 13:36:15 +02:00
Sebastian Gniazdowski
af137d6840
*autoload: Reorganize -zplg-delete
2019-09-18 13:33:04 +02:00
Sebastian Gniazdowski
33da83ac8b
*autoload: Missing *to-uspl2 call
2019-09-18 13:28:43 +02:00
Sebastian Gniazdowski
9ef685596e
*autoload: Set up a fallback teleid
2019-09-18 13:27:58 +02:00
Sebastian Gniazdowski
5f73cfeab1
*autoload: Filter-out .svn and .git directories in -zplg-delete
2019-09-18 13:13:44 +02:00
Sebastian Gniazdowski
5a65b1f30a
*autoload: Use `if' in -zplg-delete
2019-09-18 13:13:24 +02:00
Sebastian Gniazdowski
870e7ac6df
*autoload: Output a "y/n" string in -zplg-confirm
2019-09-18 13:04:47 +02:00
Sebastian Gniazdowski
27a826da7d
*autoload: Load ices in -zplg-delete; general uplift
2019-09-18 13:03:39 +02:00
Sebastian Gniazdowski
ff633fea5e
*autoload: Resolve warncreateglobal warnings induced by *compute-ice
2019-09-18 11:38:22 +02:00
Sebastian Gniazdowski
b06654f4d8
*autoload: *compute-ice returns is-snippet bool in a given variable
2019-09-18 11:26:41 +02:00
Sebastian Gniazdowski
70794c72b6
*autoload: Ensure the `zplugin recall …' text is syntax-highlighted
2019-09-18 07:24:44 +02:00
Sebastian Gniazdowski
95d2b89323
zplugin: Fix all problems with *deploy-message
2019-09-18 07:23:32 +02:00
Sebastian Gniazdowski
57eff33bde
zplugin: Fix problems with deploy-message on non-OS X systems
2019-09-18 05:31:41 +02:00
Sebastian Gniazdowski
965688752a
*side,*autoload: svn ice must be last in the order array
2019-09-18 05:05:04 +02:00
Sebastian Gniazdowski
b85655ea60
*autoload: New hook: atdelete
2019-09-16 15:04:46 +02:00
Sebastian Gniazdowski
45abf92bff
zplugin,*install,*autoload: Pass hook type as last argument to handler
2019-09-15 08:55:37 +02:00
Sebastian Gniazdowski
e667e960e8
Updated README.md
2019-09-15 08:08:59 +02:00
Sebastian Gniazdowski
e927be43a2
*install: Fix bpick'' ice – should be prepended with */… to be intuitive
...
Issue #166
2019-09-14 12:38:37 +02:00
Sebastian Gniazdowski
463a15f8a7
*autoload: Update the help message
2019-09-13 18:11:46 +02:00
Sebastian Gniazdowski
29be43331c
Updated README.md
2019-09-13 17:57:04 +02:00
Sebastian Gniazdowski
357551bb06
zplugin: Extend Bash emulation – options braceexpand, kshglob
2019-09-13 17:28:14 +02:00
Sebastian Gniazdowski
fa112128dd
New ice-mod – aliases
2019-09-13 17:09:21 +02:00
Sebastian Gniazdowski
c7ec1af092
zplugin: Prevent double-report entries
2019-09-13 15:08:36 +02:00
Sebastian Gniazdowski
fd8620525c
zplugin: Add wrapping { and }
2019-09-13 14:14:24 +02:00
Sebastian Gniazdowski
c9a9fbffbd
zplugin: Remove a debug print
2019-09-12 12:39:20 +02:00
Sebastian Gniazdowski
fe48c4b2b0
zplugin: Don't use a function wrapper to source files
2019-09-12 07:40:48 +02:00
Sebastian Gniazdowski
5b1c0c5a2a
*side,*autoload: Add the new ice-mods sh, … into recognized-ices lists
2019-09-12 02:53:55 +02:00
Sebastian Gniazdowski
557b18900a
Updated README.md
2019-09-12 02:35:27 +02:00
Sebastian Gniazdowski
75994307f7
zplugin: Bash emulation – no shglob option, to make regexes work
2019-09-12 01:05:39 +02:00
Sebastian Gniazdowski
fb82730599
*install: Don't compile plugins that are loaded with an emulation
2019-09-12 00:37:55 +02:00
Sebastian Gniazdowski
db341dd0ba
zplugin: Support for sticky-emulation sourcing via ices: sh,bash,ksh,csh
2019-09-11 23:50:56 +02:00
Sebastian Gniazdowski
cce7534eb1
zplugin: Optimize -zplg-ice a bit
2019-09-11 22:38:40 +02:00
Sebastian Gniazdowski
5799dd32bc
*install: Fix running hooks for gh-r plugins
2019-09-11 21:11:38 +02:00
Sebastian Gniazdowski
8dbf5320d3
*autoload: Correct detection of the new version of the gh-r plugins
2019-09-11 20:24:47 +02:00
Sebastian Gniazdowski
b1af892ccf
zplugin: Don't use correct in scheduler
2019-09-10 22:39:43 +02:00
Sebastian Gniazdowski
e7f0b2c738
Updated README.md
2019-09-10 07:47:09 +02:00
Sebastian Gniazdowski
600d856543
Updated README.md, CHANGELOG.md
2019-09-10 07:32:36 +02:00
Sebastian Gniazdowski
505c756ceb
*install: Fallback to cat' in case there's no zsh' binary in PATH
2019-09-10 06:44:54 +02:00
Sebastian Gniazdowski
ccde16c57a
install.sh: Update a message
2019-09-10 06:40:18 +02:00
Sebastian Gniazdowski
639e176a4f
install.sh: New variable ZPLG_BIN_DIR_NAME
2019-09-10 06:39:31 +02:00
Sebastian Gniazdowski
3469f96ed7
install.sh: Use progress bar, colors and a few unicode chars
2019-09-10 06:24:16 +02:00
Sebastian Gniazdowski
a0c7322f4d
zplugin,*install,*autoload: Rename z-plugins to annexes
2019-09-09 22:18:33 +02:00
Sebastian Gniazdowski
f41e960e00
*autoload: Don't run reset'' ice for gh-r binaries when no actual update
2019-09-09 22:10:56 +02:00
Sebastian Gniazdowski
a6f0544405
*install,*autoload: Separate update messages
2019-09-09 20:27:30 +02:00
Sebastian Gniazdowski
e5cf3cb5c7
New ice mod reset'' which resets --hard the repository before git pull
...
It allows to have an atpull'' that modifies files.
2019-09-09 20:15:57 +02:00
Sebastian Gniazdowski
7e2156cfb1
*autoload: Glob for dot-files when globbing for -r/--reset
2019-09-09 20:12:52 +02:00
Sebastian Gniazdowski
b4e3349648
*install,*autoload: Clarify when -r/--reset triggers the reset
2019-09-09 19:58:05 +02:00
Sebastian Gniazdowski
199160c886
*install: Use --recursive with svn revert
2019-09-09 17:38:55 +02:00
Sebastian Gniazdowski
bca902775c
*install,*autoload: Remove redundant code
2019-09-09 17:20:15 +02:00
Sebastian Gniazdowski
ff51fcaae8
*autoload: Output message when skipping unset of a whitelisted parameter
2019-09-09 15:07:56 +02:00
Sebastian Gniazdowski
5d8c5f9575
*install: Run atpull ice once at snippet update & run-atpull ice
2019-09-08 09:26:17 +02:00
Sebastian Gniazdowski
d42a9ba87e
*install: Use lANG=C when calling svn
2019-09-08 08:23:31 +02:00
Sebastian Gniazdowski
761a1332d7
*autoload: Use alternate syntax in a few places and a globbing
2019-09-08 07:59:10 +02:00
Sebastian Gniazdowski
9a324b4f37
Update code documentation
2019-09-08 03:22:29 +02:00
Sebastian Gniazdowski
040cc89d4e
*install: "gnu" substring can exist also with Windows binaries, fix it
2019-09-08 03:17:03 +02:00
Sebastian Gniazdowski
b307215edf
*autoload: Use pull --recurse-submodules instead of a git foreach
...
Fixes #164
2019-09-08 03:13:26 +02:00
Sebastian Gniazdowski
9b437982ce
zplugin: Set options in shadowing functions
2019-09-04 05:49:30 +02:00
Sebastian Gniazdowski
68130dab4a
Updated README.md (for the github/gitignore template addition)
2019-09-03 21:52:13 +02:00
Sebastian Gniazdowski
ef9c55cdc3
zplugin: Update
2019-09-03 20:56:15 +02:00
Sebastian Gniazdowski
049a8a21ef
*autoload: *create – use the $0-handling from the recent plugin standard
2019-08-30 15:55:14 +02:00
Sebastian Gniazdowski
eb820f6d78
Updated README.md
2019-08-29 22:03:32 +02:00
Sebastian Gniazdowski
70f2817f73
*autoload: Update the messages for better interplay with s-h on the wiki
2019-08-29 21:49:26 +02:00
Sebastian Gniazdowski
2b8d592d2d
zplugin: Fix the multiple-times usage of the same ice feature
2019-08-29 21:47:47 +02:00
Sebastian Gniazdowski
2337a2dc0e
zplugin: Append values of ices used multiple times with ; as separator
2019-08-29 04:10:25 +02:00
Sebastian Gniazdowski
0ee3e88b25
Updated README.md from DundarGoc/zplugin_readme
2019-08-29 03:34:19 +02:00
Sebastian Gniazdowski
a166d49a0c
Updated code documentation
2019-08-29 03:30:28 +02:00
Sebastian Gniazdowski
da307c3354
Updated README.md
2019-08-28 02:28:40 +02:00
Sebastian Gniazdowski
f27cb760e9
Updated README.md from DundarGoc/zplugin_readme
2019-08-26 04:04:44 +02:00
Sebastian Gniazdowski
f42ceea1ae
zplugin: More often creation of $ZPFX/bin
2019-08-22 02:08:13 +02:00
Sebastian Gniazdowski
35d6e6a779
Updated README.md
2019-08-21 21:55:02 +02:00
Sebastian Gniazdowski
f075dbd3e8
Updated README.md from DundarGoc/zplugin_readme
2019-08-21 21:52:52 +02:00
Sebastian Gniazdowski
88206f926d
zplugin: Better code formatting in 2 places
2019-08-19 10:20:47 +02:00
Sebastian Gniazdowski
06211b3602
zplugin: Format a long line (+ fix an *errored* build)
2019-08-19 03:04:40 +02:00
Sebastian Gniazdowski
023b7d9dfa
zplugin: Compatibility with the SHORT_LOOPS option disabled
2019-08-19 02:34:08 +02:00
Sebastian Gniazdowski
4beba42fec
zplugin: Limit the amount of errors from dtrace when using module
2019-08-19 02:32:59 +02:00
Sebastian Gniazdowski
846cc0d767
zplugin: (q+) is a 5.3 addition
2019-08-16 01:52:09 +02:00
Sebastian Gniazdowski
4974c2cfa1
zplugin: Better quoting of bindkeys' key in reports
2019-08-16 01:47:52 +02:00
Sebastian Gniazdowski
489e3d374f
Updated README.md from DundarGoc/zplugin_readme
2019-08-15 03:58:50 +02:00
Sebastian Gniazdowski
e630842054
Updated README.md from DundarGoc/zplugin_readme
2019-08-15 03:48:06 +02:00
Sebastian Gniazdowski
f2b022a7a9
zplugin: Support for autoloads in wrap-track''
2019-08-14 04:33:50 +02:00
Sebastian Gniazdowski
f0c77a9dd8
zplugin,*autoload: Restoration of bindkeys
2019-08-14 04:33:09 +02:00
Sebastian Gniazdowski
5cd3d857bb
zplugin: Simplify & optimize *shadow-bindkey
2019-08-14 02:36:23 +02:00
Sebastian Gniazdowski
a6627feef0
*autload: Remove duplicate `local k'
2019-08-13 20:56:02 +02:00
Sebastian Gniazdowski
5593ab785b
*autoload: *unload – respect the -q option (add the guard to a message)
2019-08-13 20:54:53 +02:00
Sebastian Gniazdowski
b8b549ace3
Updated README.md
2019-08-11 12:23:48 +02:00
Sebastian Gniazdowski
86e85dd077
Updated README.md
2019-08-11 12:09:52 +02:00
Sebastian Gniazdowski
05d55db941
Updated README.md from DundarGoc/zplugin_readme
2019-08-11 00:31:33 +02:00
Sebastian Gniazdowski
88186e451d
*autoload: *unload – use localoptions
2019-08-10 18:21:40 +02:00
Sebastian Gniazdowski
49c467ec3f
*autoload: Properly restore completion widgets
2019-08-10 18:20:45 +02:00
Sebastian Gniazdowski
28c0b21ffe
*autoload: Use correct argument for zle -N
2019-08-10 18:19:49 +02:00
Sebastian Gniazdowski
ffbab1f171
*autoload: Avoid chain-restoring with the same plugin
2019-08-10 18:17:11 +02:00
Sebastian Gniazdowski
789ae17066
*autoload: Add typesetsilent option to -zplg-unload()
2019-08-09 15:07:46 +02:00
Sebastian Gniazdowski
7048ecca90
Updated README.md
2019-08-09 13:40:32 +02:00
Sebastian Gniazdowski
04be05c86b
*autoload: Setopt noksharrays
2019-08-09 11:52:24 +02:00
Sebastian Gniazdowski
6496b9cbb3
*autoload: Fix extendedglob issue
2019-08-09 11:25:31 +02:00
Sebastian Gniazdowski
b6c9adb825
*autoload: *unload – use correct field
2019-08-09 00:22:35 +02:00
Sebastian Gniazdowski
e47d48f62e
zplugin,*autoload: Advanced unloading of Zle widgets
2019-08-09 00:13:53 +02:00
Sebastian Gniazdowski
fb145d6e82
zplugin,*autoload: Chaining of the widgets to next plugin that uses it
2019-08-08 06:18:56 +02:00
Sebastian Gniazdowski
274e0ef6d3
zplugin: Better Note-message on creation of a new widget, in the report
2019-08-08 06:15:46 +02:00
Sebastian Gniazdowski
f4608ade38
*autoload: *-unload – use i.a.: warncreateglobal; declare 2 missing vars
2019-08-08 04:41:19 +02:00
Sebastian Gniazdowski
2532ae83f8
*autoload: Output a short message with name of the plugin being unloaded
2019-08-08 04:08:52 +02:00
Sebastian Gniazdowski
aac46e0255
zplugin: Make it easier to hack with Zplugin – remove spaces from eval
2019-08-08 00:17:20 +02:00
Sebastian Gniazdowski
fedaeeb2b2
zplugin: Save overridden widgets under a more distinct name
2019-08-07 15:24:38 +02:00
Sebastian Gniazdowski
1353a3a4fa
zplugin: Save the to-delete widgets when in dtrace
2019-08-07 15:24:00 +02:00
Sebastian Gniazdowski
e74e537553
zplugin: Make a code path common to 2 cases
2019-08-07 15:22:21 +02:00
Sebastian Gniazdowski
2c246846fd
.gitignore: Update
2019-08-07 12:18:29 +02:00
Sebastian Gniazdowski
cf02de13eb
*autoload: Use warncreateglobal with *update-or-status
2019-08-06 21:42:36 +02:00
Sebastian Gniazdowski
af1df9c40c
Create FUNDING.yml
2019-08-06 21:12:36 +02:00
Sebastian Gniazdowski
6be522ecef
*install: Use warncreateglobal in all functions
2019-08-05 12:12:04 +02:00
Sebastian Gniazdowski
2de29c9c3c
deploy: Correctly handle the Makefile
2019-08-05 06:35:14 +02:00
Sebastian Gniazdowski
39d1b9dc94
deploy: Recognize Makefile
2019-08-05 06:26:02 +02:00
Sebastian Gniazdowski
69e4e6ce84
Travis: Manually install mailutils
2019-08-05 06:19:00 +02:00
Sebastian Gniazdowski
e76bfcd454
*-output.zsh: Filled, regular progress bar, with colors
2019-08-05 06:11:20 +02:00
Sebastian Gniazdowski
2aa0dd2612
zplugin,*autoload: Remove most of the global variables
2019-08-04 19:30:11 +02:00
Sebastian Gniazdowski
bbb067c9c0
*autoload: Don't pull submodules if there's no git repository
2019-08-04 16:02:24 +02:00
Sebastian Gniazdowski
5bbbf6b5c5
zplugin: Allow diffing multiple times
2019-08-04 11:38:49 +02:00
Sebastian Gniazdowski
69aca3a893
zplugin: -zplg-diff function
2019-08-04 11:35:28 +02:00
Sebastian Gniazdowski
980363f557
zplugin: Cleanup comments
2019-08-02 21:19:08 +02:00
Sebastian Gniazdowski
9c59996c3c
zplugin: Prepend a banner message to the report of the tracked function
2019-08-02 21:11:37 +02:00
Sebastian Gniazdowski
8893c07950
zplugin: Prepend ((1)) before sources
2019-08-02 09:28:43 +02:00
Sebastian Gniazdowski
7695311d47
Updated README.md (vim example, restored the new `delete' options)
2019-08-01 20:46:33 +02:00
Sebastian Gniazdowski
d76c337774
*autoload: Check if the function to be unset actually exists (to mute..)
2019-07-31 23:50:37 +02:00
Sebastian Gniazdowski
2baf4ffcb1
Updated README.md (/site/... -> /wiki/...)
2019-07-31 23:24:58 +02:00
Sebastian Gniazdowski
62bb0e4209
*autoload: Support the Plugin's Standard *_plugin_unload function
2019-07-31 13:53:11 +02:00
Sebastian Gniazdowski
77caa08e55
Revert "zplugin: Temporarily disable the use of binary module to clarify debug"
...
This reverts commit 1ddc4a2c69 .
2019-07-31 02:02:02 +02:00
Sebastian Gniazdowski
fe58dd3f02
zplugin: A local, temporary fix for an outside context setting errreturn
2019-07-31 01:59:58 +02:00
Sebastian Gniazdowski
eaf11cb76a
zplugin,*autoload: More polite message Warning: -> Note: in zle reports
2019-07-30 23:59:26 +02:00
Sebastian Gniazdowski
0c9be102de
zplugin: Don't call `atinit' hooks when *updating* a snippet
2019-07-30 23:57:51 +02:00
Sebastian Gniazdowski
c6ca237d35
zplugin,*side,*autoload: `wrap-track' ice: wraps functions with tracking
2019-07-30 23:46:34 +02:00
Sebastian Gniazdowski
778dcd2e8e
zplugin: Improve the cooperation with the binary module (compdef shado.)
2019-07-30 22:14:38 +02:00
Sebastian Gniazdowski
d47d897de6
zplugin: New method of applying ices, recursive zplugin calls possible
2019-07-30 21:08:13 +02:00
Sebastian Gniazdowski
774b9d2305
zplugin: A much nicer calling of the shadowed builtin
2019-07-30 20:04:38 +02:00
Sebastian Gniazdowski
1ddc4a2c69
zplugin: Temporarily disable the use of binary module to clarify debug
2019-07-30 18:51:24 +02:00
Sebastian Gniazdowski
d61987d650
Travis: Use sudo with the apt-get command
2019-07-30 17:27:20 +02:00
Sebastian Gniazdowski
b66222e0df
Travis: Try manual installation of the zsh package
2019-07-30 17:20:55 +02:00
Sebastian Gniazdowski
fd0df75f18
Travis: Try with an empty before_script to see if zsh will be installed
2019-07-30 16:52:07 +02:00
Sebastian Gniazdowski
8e38301493
Travis: Install zsh
2019-07-30 16:01:33 +02:00
Sebastian Gniazdowski
c052b6d8aa
Travis: Use the newest available distribution Bionic 18.04
2019-07-30 15:58:07 +02:00
Sebastian Gniazdowski
ea64a72cc7
deploy: Change the `mail' invocation to not use the option -c
2019-07-30 15:52:01 +02:00
Robert Audi
f0ec5f5939
Make the "News" section of the README collapsible
2019-07-30 15:47:41 +02:00
Sebastian Gniazdowski
5c5194e3cb
*autoload,README: Information on --all & --clean `delete' options
2019-07-29 17:20:29 +02:00
Sebastian Gniazdowski
76fb147c2c
deploy: Recognize the wiki/ directory
2019-07-28 22:52:36 +02:00
Sebastian Gniazdowski
dba24b1e1a
deploy: Recognize highlight/ directory
2019-07-28 22:31:39 +02:00
Sebastian Gniazdowski
6925150fd5
zplugin: Handle ksharrays after the command calling code changes
2019-07-28 19:36:03 +02:00
Sebastian Gniazdowski
28f0298373
Updated README.md
2019-07-28 18:45:08 +02:00
Sebastian Gniazdowski
ab0bd48431
deploy: Send the confirmation email also to @zdharma.org
2019-07-28 17:48:52 +02:00
Sebastian Gniazdowski
b1f1ecb93f
Travis,deploy: Recognize .gitignore. Send a confirmation email
2019-07-28 17:46:36 +02:00
Sebastian Gniazdowski
41a1359a47
zplugin: Make the scheduler invocation to not change $_
...
Issue #155
2019-07-24 08:30:36 +02:00
Sebastian Gniazdowski
78892a8749
deploy_doc.sh: Add mkdocs site/ subdirectory to recognized ones
2019-07-22 07:10:29 +02:00
Sebastian Gniazdowski
2c9fc1577b
img: update update.png
2019-07-21 17:20:02 +02:00
Sebastian Gniazdowski
a7b270717d
img: update.png
2019-07-21 17:14:49 +02:00
Sebastian Gniazdowski
ef522982f1
Updated README.md from DundarGoc/zplugin_readme with slight changes
2019-07-20 22:57:24 +02:00
Sebastian Gniazdowski
41afa4e10e
*autoload: Handle DL_EXT inconsistencies by copying zplugin.{so,bundle}
...
Issue #131
2019-07-20 15:37:46 +02:00
Sebastian Gniazdowski
589e458844
Updated GALLERY.md
2019-07-20 15:28:42 +02:00
Sebastian Gniazdowski
c7236b052d
zplugin: Use correct zstyle to inform Prezto about the compdef function
2019-07-20 15:24:47 +02:00
Sebastian Gniazdowski
7e13b8a572
zplugin: Inform Prezto that the compdef function is available
2019-07-20 15:18:16 +02:00
Sebastian Gniazdowski
d75fc2bbed
*autoload: Support updating submodules
2019-07-17 18:17:23 +02:00
Sebastian Gniazdowski
10568f6f07
Updated README.md
2019-07-15 08:04:19 +02:00
Sebastian Gniazdowski
d3adb744d1
Updated README.md
2019-07-15 08:02:12 +02:00
Sebastian Gniazdowski
7afae27990
Updated README.md (from DundarGoc/zplugin_readme)
2019-07-15 05:46:33 +02:00
Sebastian Gniazdowski
cf3689a8c2
zplugin,*autoload: Standard change: LOADED_PLUGINS -> zsh_loaded_plugins
2019-07-13 15:25:26 +02:00
Sebastian Gniazdowski
a8ea52fbae
module(*autoload); Trap INT so that Ctrl-C doesn't interrupt any script
2019-07-13 11:25:03 +02:00
Sebastian Gniazdowski
bfe907cdaf
zplugin: Handle empty wait'' ice at if-show "already registered" warn
2019-07-13 09:24:12 +02:00
Sebastian Gniazdowski
c796378dda
*install,*autoload: z-plugins – fix atpull & hooks cooperation
2019-07-13 06:56:33 +02:00
Sebastian Gniazdowski
9eff35b346
zplugin: read -u -> read -r -u in *deploy-message
2019-07-13 04:13:03 +02:00
Sebastian Gniazdowski
9340f150b5
Updated README.md from DundarGoc/zplugin_readme
2019-07-12 20:23:26 +02:00
Sebastian Gniazdowski
4222342ceb
*autoload: `delete' gains --all & --clean options (plugin/snippet prune)
...
Issue #41
2019-07-12 13:03:49 +02:00
Sebastian Gniazdowski
7b9b67c49d
zplugin: Store the resolved id-as not the url in the ZPLG_SNIPPETS hash
2019-07-12 13:01:52 +02:00
Sebastian Gniazdowski
f0f1aad445
zplugin: Move option map above case and rename it to `opt_map'. New opts
2019-07-12 11:52:59 +02:00
Sebastian Gniazdowski
10cc1b7f95
zplugin: Store the URL not the filename in ZPLG_SNIPPETS
2019-07-12 11:48:05 +02:00
Sebastian Gniazdowski
3a33e72f45
*autoload: -zplg-confirm is now testable
2019-07-12 11:43:31 +02:00
Sebastian Gniazdowski
d82ae29ecf
*install: Fix bug where first load of snippet after downloading failed
2019-07-12 11:42:24 +02:00
Sebastian Gniazdowski
d5bcf3c46d
zplugin: Pass all $@ arguments to the *autoload.zsh functions
2019-07-12 09:47:10 +02:00
Sebastian Gniazdowski
82091b4214
module: No error message when script is unreadable unless *_MOD_DEBUG=1
2019-07-12 09:43:06 +02:00
Sebastian Gniazdowski
d6b230d7da
*-output.zsh: Simpler progress bar & shorter acronyms
2019-07-12 08:21:10 +02:00
Sebastian Gniazdowski
f47b8cc75f
zplugin: One line of initialization code less
2019-07-12 07:59:58 +02:00
Sebastian Gniazdowski
b01ffffbb4
zplugin: Remove check for SERVICES_DIR, it has been there long enough
2019-07-11 00:50:52 +02:00
Sebastian Gniazdowski
50736548ef
zplugin,*adoc: Update function comments and the code documentation
2019-07-11 00:49:55 +02:00
Sebastian Gniazdowski
b2307397a4
Updated doc/INTRODUCTION.adoc
2019-07-10 22:12:06 +02:00
Ben Klein
e74270ab5d
Update README.md
...
Just updated the link since I changed the dockerfile awhile ago and didn't notice it got linked here.
2019-07-10 16:15:20 +02:00
Sebastian Gniazdowski
00b71bb86b
Travis: deploy the PDFs before running the tests
2019-07-10 00:37:54 +02:00
Sebastian Gniazdowski
8536f22807
Update code documentation
2019-07-10 00:36:58 +02:00
Sebastian Gniazdowski
3dd5cc4ef6
Updated README.md
2019-07-10 00:28:00 +02:00
Sebastian Gniazdowski
1c7a207f33
Updated doc/INTRODUCTION.adoc
2019-07-10 00:27:33 +02:00
Sebastian Gniazdowski
1171a221bf
Updated doc/INTRODUCTION.adoc
2019-07-10 00:24:27 +02:00
Sebastian Gniazdowski
0d8ddbf03d
Updated doc/INTRODUCTION.adoc
2019-07-10 00:21:58 +02:00
Sebastian Gniazdowski
af69499d8c
Updated README.md (an uplift)
2019-07-09 23:47:09 +02:00
Sebastian Gniazdowski
fe98efc148
Updated README.md
2019-07-09 23:28:07 +02:00
Sebastian Gniazdowski
803e8c54e4
Updated doc/Z-PLUGINS.adoc
2019-07-09 23:23:24 +02:00
Sebastian Gniazdowski
657fadb9dd
Updated README.md (from DundarGoc/zplugin_readme)
2019-07-09 23:20:51 +02:00
Sebastian Gniazdowski
afaec73bd8
*autoload: Use green not red for the "Note" message when update --all
2019-07-09 18:18:49 +02:00
Sebastian Gniazdowski
9f7100446d
*autoload.zsh: Use word "Note" not "Warning" when update --all
2019-07-09 18:15:38 +02:00
Sebastian Gniazdowski
ecc67ed572
*autoload: Remove zwc-s before compiling Zplugin (during self-update)
2019-07-09 15:30:08 +02:00
Sebastian Gniazdowski
9a0644957a
Updated README.md
2019-07-09 07:32:46 +02:00
Sebastian Gniazdowski
179cb1c601
Updated doc/Z-PLUGINS.adoc
2019-07-09 07:18:09 +02:00
Sebastian Gniazdowski
1a73702e46
doc/Z-PLUGINS.adoc
2019-07-09 06:35:29 +02:00
Sebastian Gniazdowski
94431eb6f5
Revert "*install: A more general condition"
...
This reverts commit ec704029f9 .
2019-07-09 05:44:30 +02:00
Sebastian Gniazdowski
cbfd3e6f13
INSTALLATION.adoc: Update the document version so that it's correct
2019-07-09 05:11:10 +02:00
Sebastian Gniazdowski
e1b58757fc
*install,*autoload: z-plugins – a new hook %atpull – always ran atpull
2019-07-09 05:02:47 +02:00
Sebastian Gniazdowski
f7e7043a91
*autoload: Set the ZPLG_ICE array before calling hooks
2019-07-09 03:28:21 +02:00
Sebastian Gniazdowski
b07a6e1fcc
zplugin,*install: Hooks now receive plugin/snippet path in last argument
2019-07-09 03:27:02 +02:00
Sebastian Gniazdowski
f225ba74ff
zplugin,*side,*autoload: z-plugins – ice'' <-> value-ice; new ice_order
...
ice_order arrays now hold the ice-mods from ZPLG_EXTS
2019-07-09 03:10:33 +02:00
Sebastian Gniazdowski
de422382f8
Upadted README.md
2019-07-08 16:58:28 +02:00
Sebastian Gniazdowski
868cc07648
Updated README.md
2019-07-08 16:54:35 +02:00
Sebastian Gniazdowski
c3b94940c1
zplugin: Update the message about a command needeing an argument
2019-07-08 16:51:38 +02:00
Sebastian Gniazdowski
ddebeebec4
zplugin: `snippet' with no arguments now displays a warning message
2019-07-08 16:49:50 +02:00
Sebastian Gniazdowski
2cf21f8c5f
zplugin; An empty wait'' ice, i.e. wait alone now works as wait'0' :)
...
The same for wait'!' -> wait'!0 '.
2019-07-08 16:46:43 +02:00
Sebastian Gniazdowski
7fb843bcf2
*autoload: A better protection of rm -rf
2019-07-06 21:03:51 +02:00
Sebastian Gniazdowski
2d068644e6
Add CHANGELOG.md
2019-07-06 20:10:05 +02:00
Sebastian Gniazdowski
5151e7d96b
Updated README.md from DundarGoc/zplugin_readme + small help text update
2019-07-06 15:26:44 +02:00
Sebastian Gniazdowski
dd51c6e960
*autoload: z-plugins – support for atpull hooks in plugins
2019-07-05 22:22:47 +02:00
Sebastian Gniazdowski
a05ba5a3af
*autoload: Remove a debug message
2019-07-05 21:36:27 +02:00
Sebastian Gniazdowski
0697b2d6ed
*autoload: Fix various bugs where ZPLG_ICE was being used instead of ice
2019-07-05 21:23:13 +02:00
Sebastian Gniazdowski
1cecd8c0f6
*install: z-plugins – atpull hooks for snippets & general atclone hooks
2019-07-05 20:27:45 +02:00
Sebastian Gniazdowski
9af0b61b33
*install: Fix 361e4b2 – current directory restoration to atpull/atclone
...
TODO: the plugin's atpull hooks aren't ran from the same subshell as
361e4b2 promises.
2019-07-05 18:48:32 +02:00
Sebastian Gniazdowski
1ace9ae243
zplugin,*autoload: z-plugins – hook:-type (atinit,atload); adding ices
...
Performance status (testp2): 1.091 sec -> 1.138 sec
2019-07-05 11:02:13 +02:00
Sebastian Gniazdowski
bd9e663b6f
zplugin: Add -n in an condition, for zsh-5.0.2 and earlier
2019-07-05 09:12:51 +02:00
Sebastian Gniazdowski
45ee1b2f38
zplugin,*autoload: z-plugins – use a new hash ZPLG_EXTS instead of ZPLGM
2019-07-05 08:15:51 +02:00
Sebastian Gniazdowski
bca121bd01
zplugin,*autoload: Small uplift
2019-07-05 08:14:47 +02:00
Sebastian Gniazdowski
254eb46bb5
zplugin,*autoload: Second version of the z-plugins – gone bad design
2019-07-05 07:29:48 +02:00
Sebastian Gniazdowski
3374f4166d
zplugin,*autoload: Initial version of the z-plugins – zplugin extensions
2019-07-05 06:54:27 +02:00
Sebastian Gniazdowski
8e8d7fc488
zplugin: Make the `zplugin' command/function testable. Shorten code
2019-07-05 06:07:42 +02:00
Sebastian Gniazdowski
b7174a8dd7
Updated GALLERY.md
2019-07-05 02:55:36 +02:00
Sebastian Gniazdowski
615598557e
Updated README.md from https://github.com/DundarGoc/zplugin_readme
...
Issue #88
2019-07-04 20:32:11 +02:00
Sebastian Gniazdowski
7fff6f3a1b
zplugin: Better support for LOADED_PLUGINS array (the plugin standard)
2019-07-04 20:16:50 +02:00
Sebastian Gniazdowski
33180d5167
Updated README.md
2019-07-02 01:41:37 +02:00
Sebastian Gniazdowski
af3270d4f1
zplugin: Register snippet after the cloneonly ice-mod has been evaluated
2019-07-02 01:37:19 +02:00
Sebastian Gniazdowski
9045bb70c0
Updated README.md
2019-07-02 01:35:57 +02:00
Sebastian Gniazdowski
61b4ff29a5
*autoload: Properly align a line in the help message
2019-07-01 14:26:59 +02:00
Sebastian Gniazdowski
df88469ffb
*install: Add support for cygwin to the from'gh-r' ice
...
Issue #138
2019-07-01 13:47:41 +02:00
Sebastian Gniazdowski
a349c13c6c
*install: More soophisticated auto-binary matching (for gh-r)
...
Issue #138
2019-07-01 13:43:24 +02:00
Sebastian Gniazdowski
05d66926ef
Updated README.md
2019-07-01 12:43:53 +02:00
Sebastian Gniazdowski
ec704029f9
*install: A more general condition
2019-07-01 12:41:10 +02:00
Sebastian Gniazdowski
f3f322e19c
*install: Protect against possible negative return value leak-out
2019-07-01 12:38:50 +02:00
Sebastian Gniazdowski
361e4b2688
*install: Run atclone'' & make'' within the same subshell
2019-07-01 12:36:11 +02:00
Sebastian Gniazdowski
278f5d3347
Updated GALLERY.md
2019-06-29 18:42:24 +02:00
Sebastian Gniazdowski
a70af5326f
*install: Output a newline before the "Downloading …" message
2019-06-27 07:49:25 +02:00
Sebastian Gniazdowski
f8a57295e0
zplugin: make the services accept commands case-insensitively
2019-06-26 20:55:39 +02:00
Sebastian Gniazdowski
35645799f2
zplugin: notify'' gets evaluated, i.e. can contain active code like $()
2019-06-26 14:49:55 +02:00
Sebastian Gniazdowski
5488516186
*autoload: `create': output Zsh Plugin Standard URL and the $0 handling
...
Also copy MIT license and prefill README.md with a header.
2019-06-24 21:32:56 +02:00
Sebastian Gniazdowski
8afeacaa65
*autoload: `self-update' compiles also git-process-output.zsh
2019-06-24 17:04:52 +02:00
Sebastian Gniazdowski
53a1df1de7
Travis: on_failure irc-message -> on change
2019-06-24 12:51:52 +02:00
Sebastian Gniazdowski
8055eac076
Updated GALLERY.md
2019-06-24 12:45:23 +02:00
Sebastian Gniazdowski
41d061c6ed
Updated README.md
2019-06-23 17:11:32 +02:00
Sebastian Gniazdowski
0b0bd193ff
zplugin,README: Updated README.md, enabled subscribe for snippets
2019-06-23 17:09:45 +02:00
Sebastian Gniazdowski
1470f52e9e
zplugin,*autoload,README: New ice mod on-update-of'/subscribe'
2019-06-23 16:47:39 +02:00
Sebastian Gniazdowski
84a90ebd0e
zplugin: Reformat -zplg-ice – break the long line
2019-06-23 13:17:32 +02:00
NICHOLAS85
34d15a2970
Save username to git credentials on successful Github repository creation
2019-06-23 10:56:22 +02:00
Sebastian Gniazdowski
d5025dd69e
README,*autoload: Add `reset-prompt' to the help message
2019-06-23 01:21:35 +02:00
Sebastian Gniazdowski
f79a60553b
Updated README.md
2019-06-23 01:17:37 +02:00
Sebastian Gniazdowski
c6e2e32194
zplugin,README: New ice-mod reset-prompt which resets the prompt after
...
loading the plugin/snippet. Useful for loading themes.
2019-06-23 01:10:21 +02:00
Sebastian Gniazdowski
deb02859a4
Updated README.md
2019-06-23 00:05:11 +02:00
Sebastian Gniazdowski
7b67577574
Updated README.md
2019-06-23 00:01:45 +02:00
Sebastian Gniazdowski
bdbdc5e918
zplugin: zpcdclear
2019-06-22 23:57:42 +02:00
Sebastian Gniazdowski
2c0f8d71e5
Updated README.md
2019-06-22 23:14:39 +02:00
Sebastian Gniazdowski
59c426f71b
zplugin: Remove debug messages from -zplg-deploy-message
2019-06-22 19:09:54 +02:00
Sebastian Gniazdowski
682d05e4b2
zplugin: Immunize to widgets starting with a dash (-*)
2019-06-22 19:00:22 +02:00
Sebastian Gniazdowski
581910c9fe
zplugin,*side,*autoload,README: New ice notify'' – it displays a message
...
or a warning under prompt after successful/unsuccessful plugin/snippet load.
2019-06-22 18:57:58 +02:00
Sebastian Gniazdowski
0630a405a7
zplugin,*autoload: Handle the update' case where ice' is preceding
...
You can always update ice-mods of a plugin/snippet this way.
2019-06-22 14:03:50 +02:00
Sebastian Gniazdowski
7dfceea108
zplugin,*autoload: Fix overall improper empty plugin / user handling
2019-06-22 12:31:21 +02:00
Sebastian Gniazdowski
fa26e1c555
zplugin: Fix the scheduler (bug introduced after fixing #135 ) #143
2019-06-21 15:46:07 +02:00
Sebastian Gniazdowski
3406baca83
*autoload: Fix snippet-update with ice-mods not containing teleid
2019-06-20 14:06:02 +02:00
Sebastian Gniazdowski
2e9c7e1bbd
*autoload: Correctly display absolute-path plugins in `zplg times'
2019-06-20 12:19:41 +02:00
Sebastian Gniazdowski
92a443e5cc
zplugin,*autoload: `times' subcommand displays time in MILLISECONDS :)
2019-06-20 12:11:56 +02:00
Sebastian Gniazdowski
aaadea26ec
*install: Git clone – set (transfer|receive|fetch).fsckobjects to false
2019-06-20 12:00:17 +02:00
Sebastian Gniazdowski
d1ad7a61de
*autoload,README: Uplift the usage message
2019-06-20 10:54:05 +02:00
Sebastian Gniazdowski
7e209343fe
_zplugin: Update the completion
2019-06-20 00:27:20 +02:00
Sebastian Gniazdowski
f9eea91f21
*autoload: Restore the lost is_release pseudo ice-mod into processing
...
Issue #141
2019-06-19 23:23:02 +02:00
Sebastian Gniazdowski
8aef3d2807
zplugin,*side,*install,*autoload,README: New ice-mod `run-atpull'
...
which makes the atpull'' ice-mod to be always ran.
Issue #141
2019-06-19 22:52:11 +02:00
Sebastian Gniazdowski
9c66bc0a7c
*side,*install,*autoload: Use $ice_order[@] everywhere. Update it
...
All tests will fail after this change.
2019-06-19 22:47:29 +02:00
Sebastian Gniazdowski
8b50d2a5b4
*install: More complex compile''-message – color on file extension and ,
...
(i.e. on the period that separates the listed files).
2019-06-19 02:24:15 +02:00
Sebastian Gniazdowski
ca7bc04f53
*install: Output a message about compile''-chosen compiled files
2019-06-19 02:06:40 +02:00
Sebastian Gniazdowski
99047f1cee
*install,*autoload: Fix make'!!' handling
2019-06-17 03:10:59 +02:00
Sebastian Gniazdowski
c14e096a7b
Updated README.md, GALLERY.md
2019-06-17 02:25:05 +02:00
Sebastian Gniazdowski
c69534f201
zplugin,README: New ice-mod `cloneonly'
2019-06-09 19:01:52 +02:00
Sebastian Gniazdowski
5551ede84c
Updated GALLERY.md
2019-06-09 18:57:14 +02:00
Sebastian Gniazdowski
9886cf1a71
*autoload: Final tweaks to the "Skipping local plugin" message
2019-06-09 18:56:54 +02:00
Sebastian Gniazdowski
ece32a58b7
*autoload: Final tweaks to the "Skipping local plugin" message
2019-06-09 18:31:27 +02:00
Sebastian Gniazdowski
98d17954e9
*autoload: Emit specific "Skipping local plugin" for updating _local/*-s
2019-06-09 18:28:47 +02:00
Sebastian Gniazdowski
722055adb3
zplugin: Fix -zplg-load's return value on unsuccessful clone etc.
2019-06-09 18:11:17 +02:00
Sebastian Gniazdowski
c8ec6f69e4
zplugin: from'gh-r' – also match "amd64" arch when OSTYPE is "x86_64"
...
Issue #138
2019-06-06 20:24:19 +02:00
Sebastian Gniazdowski
3d1ff6d951
zplugin: Instant wait'0' turbo-mode, i.e. no `sleep 0.01'
2019-06-06 17:53:27 +02:00
Sebastian Gniazdowski
20291a9f04
Updated READMe.md #102
2019-06-02 18:27:29 +02:00
Sebastian Gniazdowski
af2972ec20
Updated README.md
2019-06-02 15:34:06 +02:00
Sebastian Gniazdowski
ba2079207d
Updated README.md
2019-06-02 00:57:40 +02:00
Sebastian Gniazdowski
07dc4c8c56
Updated README.md
2019-06-02 00:54:59 +02:00
Sebastian Gniazdowski
20146314b1
zplugin: Unify null-pick'' ice value – /dev/null also for snippets. Up
...
to this moment plugins used /dev/null, while snippets used empty-value.
2019-06-02 00:44:18 +02:00
Sebastian Gniazdowski
8488f48a34
module: Mute write warnings for zwc files, unless $ZPLG_MOD_DEBUG == 1
...
Issue #104 , #118
2019-06-02 00:27:06 +02:00
Sebastian Gniazdowski
2c4ebce03a
zplugin: Fix zpcompinit – use `-Uz' options for safety from aliases
...
Issue #7
2019-06-01 01:48:09 +02:00
Sebastian Gniazdowski
03740f94c9
zplugin: Fix the bug #135 – inability to use periods (,) within //-subst
...
The bug occurs on zsh <= 5.3.1. The bug is that use of the period (,) is
impossible inside ${parameter//$arr[$(( ... ))]}.
2019-05-31 23:16:34 +02:00
Sebastian Gniazdowski
18ca4ea225
zplugin: A second try to hunt down a bug #135
2019-05-31 07:53:44 +02:00
Sebastian Gniazdowski
7f85a6916e
zplugin.zsh: A first try to hunt down a bug #135
2019-05-30 08:17:00 +02:00
Sebastian Gniazdowski
e5e0a70ca7
Updated README.md
...
Issue #134 .
2019-05-30 02:14:51 +02:00
Sebastian Gniazdowski
e08656d08f
zplugin: New feature: a, b or c suffix to wait'' argument denotes order
...
One can issue 2 zplugin commands, like:
zplugin ice as"command" pick"wd.sh" atinit"echo Fireing 1" wait"0b" lucid
zplugin light mfaerevaag/wd
zplugin ice as"command" pick"wd.sh" atinit"echo Fireing 2" wait"0a" lucid
zplugin light mfaerevaag/wd
and have the second one ran before the first one, all in slot 0.
Issue #134 .
2019-05-29 16:38:26 +02:00
Sebastian Gniazdowski
a7e9d81ca2
*-autoload: Remove Y1 globbing flag for older Zsh
2019-05-29 13:11:45 +02:00
Sebastian Gniazdowski
5ba17ea225
Travis: irc notifcations – skip_join -> true
2019-05-27 23:14:50 +02:00
Sebastian Gniazdowski
931d62f0b4
*-autoload,README: Mention the new ice-mod has''
...
Issue #122
2019-05-27 21:59:05 +02:00
Sebastian Gniazdowski
2dfe25f0d1
zplugin: New ice-mod has'' - works the same as if'(( $+commands[X] ))'
...
Issue #122
2019-05-27 21:51:56 +02:00
Sebastian Gniazdowski
6714ebc1a2
Updated README.md
...
Issue #134 .
2019-05-26 19:11:44 +02:00
Sebastian Gniazdowski
50c1a2c566
zplugin: The wait'X' events from the same time slot X are now divided
...
into separate runs, the prompt will be active between them. Inspired
by #134 .
2019-05-25 21:50:13 +02:00
Sebastian Gniazdowski
2aa5eb4dc1
Updated GALLERY.md: mfaerevaag/wd - mv _wd.sh -> _wd, atpull !git reset
...
--hard. Issue #126
2019-05-25 19:42:42 +02:00
Shayne Holmes
7a21d4eb9f
Fix variable scoping around changing directories ( #133 )
...
Some of the changes in ef3f155ab1 , adding `nocd`, resulted in incorrect
curly braces. Fix it by moving the closing brace to the end of the line.
Fixes #132 .
2019-05-25 01:22:15 +02:00
Sebastian Gniazdowski
ef750c194e
Updated INTRODUCTION.adoc
2019-05-19 02:14:34 +02:00
Sebastian Gniazdowski
0fdfe4c383
Only show the unloaded snippets warning when it applies
...
Issue #125
2019-05-19 01:04:04 +02:00
Sebastian Gniazdowski
17fe760e4f
zplugin: Fix an error where `local -a fpath' is used
...
Issue #127
2019-05-19 00:41:54 +02:00
Sebastian Gniazdowski
95a0a10596
Travis: Try a higher Ruby version 2.4 (instead of 2.2)
2019-05-18 23:55:05 +02:00
Sebastian Gniazdowski
89d61268d1
Revert "Travis: Install a stable asciidoctor version (I.e. remove --pre option)"
...
This reverts commit 19e03fd1e2 .
2019-05-18 21:21:43 +02:00
Sebastian Gniazdowski
19e03fd1e2
Travis: Install a stable asciidoctor version (I.e. remove --pre option)
2019-05-18 21:18:40 +02:00
Sebastian Gniazdowski
c3c7ee8b81
Updated README.md
...
Issue #116
2019-05-18 19:07:18 +02:00
Sebastian Gniazdowski
ef3f155ab1
Ice-mod `nocd' to run atinit'',atload'',etc. without cd to plugins dir
...
Issue #116
2019-05-17 01:01:05 +02:00
Sebastian Gniazdowski
1861ff81ed
Reddit: user wants to load OMZ::plugins/osx without a warning message
...
https://www.reddit.com/r/zplugin/comments/ahpddw/how_to_load_an_ohmyzsh_plugin_from_a_folder/
This commit changes the symlink to a relative one, so that tests can
work correctly
2019-04-20 16:51:18 +02:00
Gianluca Recchia
958150b8de
Fix typo in README.md ( #123 )
2019-04-12 13:15:43 +02:00
Tobias Sette
7470869056
fix: typo ( #121 )
2019-04-04 12:55:22 +02:00
Ben Klein
42571576e0
GALLERY.md: P10K->ZINC ( #117 )
...
Renamed the project, added support for loading optional dependencies in turbo mode.
2019-03-19 16:36:54 +01:00
Sebastian Gniazdowski
d5e0ac3a59
zplugin: Fix the ice-mods-breaking 34d13c3 commit
...
Issues #113 , #114 , #115
2019-03-19 02:28:46 +01:00
Sebastian Gniazdowski
5c8863191e
The 2 commits above are for issue #89 , not for #98
2019-03-18 07:34:53 +01:00
Sebastian Gniazdowski
a78246538a
*autoload: Regular git plugins + releases now support -r/--reset option
...
Issue #89
2019-03-18 07:29:30 +01:00
Sebastian Gniazdowski
137e70a255
Performance status 03/18/2019
...
zsh-5.7, make testp1
num calls time self name
-----------------------------------------------------------------------------------
1) 2800 1023.19 0.37 24.27% 935.76 0.33 22.19% --zplg-shadow-bindkey
2) 200 4051.02 20.26 96.08% 716.11 3.58 16.99% -zplg-load-plugin
3) 2000 468.66 0.23 11.12% 404.70 0.20 9.60% --zplg-shadow-zle
4) 10400 331.88 0.03 7.87% 331.88 0.03 7.87% -zplg-add-report
5) 600 382.71 0.64 9.08% 310.14 0.52 7.36% --zplg-shadow-alias
6) 1400 349.19 0.25 8.28% 304.79 0.22 7.23% --zplg-shadow-zstyle
7) 400 256.43 0.64 6.08% 256.43 0.64 6.08% -zplg-diff-parameter
8) 1000 300.07 0.30 7.12% 243.01 0.24 5.76% --zplg-shadow-autoload
9) 2800 1113.84 0.40 26.42% 90.65 0.03 2.15% bindkey
10) 200 4169.43 20.85 98.89% 65.21 0.33 1.55% -zplg-load
11) 2000 533.55 0.27 12.65% 64.89 0.03 1.54% zle
12) 400 62.64 0.16 1.49% 62.64 0.16 1.49% -zplg-diff-functions
13) 1400 395.33 0.28 9.38% 46.14 0.03 1.09% zstyle
14) 400 45.14 0.11 1.07% 45.14 0.11 1.07% -zplg-diff-options
15) 200 247.90 1.24 5.88% 43.26 0.22 1.03% select-word-style
16) 200 4210.76 21.05 99.87% 41.34 0.21 0.98% zplugin
17) 200 91.64 0.46 2.17% 40.23 0.20 0.95% add-zsh-hook
18) 400 39.96 0.10 0.95% 39.96 0.10 0.95% -zplg-diff-env
19) 1000 333.51 0.33 7.91% 33.44 0.03 0.79% autoload
20) 200 33.19 0.17 0.79% 33.19 0.17 0.79% -zplg-shadow-on
21) 200 30.56 0.15 0.72% 30.56 0.15 0.72% -zplg-register-plugin
22) 200 28.14 0.14 0.67% 28.14 0.14 0.67% -zplg-shadow-off
23) 600 403.23 0.67 9.56% 20.52 0.03 0.49% alias
24) 200 13.18 0.07 0.31% 13.18 0.07 0.31% -zplg-any-to-user-plugin
25) 200 9.46 0.05 0.22% 9.46 0.05 0.22% -zplg-pack-ice
26) 1 4216.16 4216.16 100.00% 5.39 5.39 0.13% (anon)
-----------------------------------------------------------------------------------
Measured time: 4.216
zsh-5.7, make testp2
num calls time self name
-----------------------------------------------------------------------------------
1) 200 1188.10 5.94 67.94% 687.20 3.44 39.30% -zplg-load-plugin
2) 200 1700.07 8.50 97.21% 458.79 2.29 26.23% -zplg-load
3) 1000 338.61 0.34 19.36% 273.24 0.27 15.62% --zplg-shadow-autoload
4) 2000 73.15 0.04 4.18% 73.15 0.04 4.18% -zplg-add-report
5) 200 99.29 0.50 5.68% 44.88 0.22 2.57% add-zsh-hook
6) 200 1743.27 8.72 99.68% 43.20 0.22 2.47% zplugin
7) 1000 374.41 0.37 21.41% 35.80 0.04 2.05% autoload
8) 200 34.22 0.17 1.96% 34.22 0.17 1.96% select-word-style
9) 200 30.14 0.15 1.72% 30.14 0.15 1.72% -zplg-register-plugin
10) 200 19.96 0.10 1.14% 19.96 0.10 1.14% -zplg-shadow-on
11) 200 19.65 0.10 1.12% 19.65 0.10 1.12% -zplg-shadow-off
12) 200 13.42 0.07 0.77% 13.42 0.07 0.77% -zplg-any-to-user-plugin
13) 200 9.62 0.05 0.55% 9.62 0.05 0.55% -zplg-pack-ice
14) 1 1748.82 1748.82 100.00% 5.55 5.55 0.32% (anon)
-----------------------------------------------------------------------------------
14) 1 1748.82 1748.82 100.00% 5.55 5.55 0.32% (anon)
200/200 1743.27 8.72 99.68% 43.20 0.22 zplugin [6]
Measured time: 1.749
zsh 5.3 (x86_64-apple-darwin17.0), make testp2
num calls time self name
-----------------------------------------------------------------------------------
1) 200 5404.32 27.02 96.68% 2095.46 10.48 37.49% -zplg-load-plugin
2) 2800 999.54 0.36 17.88% 909.25 0.32 16.27% --zplg-shadow-bindkey
3) 2000 461.51 0.23 8.26% 394.55 0.20 7.06% --zplg-shadow-zle
4) 10400 340.18 0.03 6.09% 340.18 0.03 6.09% -zplg-add-report
5) 1400 345.31 0.25 6.18% 299.86 0.21 5.36% --zplg-shadow-zstyle
6) 600 364.22 0.61 6.52% 293.84 0.49 5.26% --zplg-shadow-alias
7) 400 269.34 0.67 4.82% 269.34 0.67 4.82% -zplg-diff-parameter
8) 1000 301.34 0.30 5.39% 241.24 0.24 4.32% --zplg-shadow-autoload
9) 2800 1091.02 0.39 19.52% 91.48 0.03 1.64% bindkey
10) 200 5543.26 27.72 99.16% 85.65 0.43 1.53% -zplg-load
11) 400 67.73 0.17 1.21% 67.73 0.17 1.21% -zplg-diff-functions
12) 2000 527.51 0.26 9.44% 66.00 0.03 1.18% zle
13) 400 47.61 0.12 0.85% 47.61 0.12 0.85% -zplg-diff-options
14) 200 255.17 1.28 4.56% 44.01 0.22 0.79% select-word-style
15) 1400 389.19 0.28 6.96% 43.88 0.03 0.78% zstyle
16) 400 42.79 0.11 0.77% 42.79 0.11 0.77% -zplg-diff-env
17) 200 5584.42 27.92 99.90% 41.17 0.21 0.74% zplugin
18) 200 88.39 0.44 1.58% 39.50 0.20 0.71% add-zsh-hook
19) 200 35.75 0.18 0.64% 35.75 0.18 0.64% -zplg-shadow-on
20) 1000 334.79 0.33 5.99% 33.45 0.03 0.60% autoload
21) 200 31.02 0.16 0.55% 31.02 0.16 0.55% -zplg-register-plugin
22) 200 28.91 0.14 0.52% 28.91 0.14 0.52% -zplg-shadow-off
23) 600 383.72 0.64 6.86% 19.50 0.03 0.35% alias
24) 200 12.75 0.06 0.23% 12.75 0.06 0.23% -zplg-any-to-user-plugin
25) 200 9.51 0.05 0.17% 9.51 0.05 0.17% -zplg-pack-ice
26) 1 5590.12 5590.12 100.00% 5.70 5.70 0.10% (anon)
-----------------------------------------------------------------------------------
Measured time: 5.590
zsh 5.3 (x86_64-apple-darwin17.0), make testp2
num calls time self name
-----------------------------------------------------------------------------------
1) 200 2417.69 12.09 93.38% 1958.51 9.79 75.65% -zplg-load-plugin
2) 1000 307.83 0.31 11.89% 243.88 0.24 9.42% --zplg-shadow-autoload
3) 2000 70.97 0.04 2.74% 70.97 0.04 2.74% -zplg-add-report
4) 200 2541.64 12.71 98.17% 70.58 0.35 2.73% -zplg-load
5) 200 2583.02 12.92 99.77% 41.38 0.21 1.60% zplugin
6) 200 92.37 0.46 3.57% 41.08 0.21 1.59% add-zsh-hook
7) 1000 341.26 0.34 13.18% 33.43 0.03 1.29% autoload
8) 200 31.60 0.16 1.22% 31.60 0.16 1.22% select-word-style
9) 200 30.59 0.15 1.18% 30.59 0.15 1.18% -zplg-register-plugin
10) 200 19.17 0.10 0.74% 19.17 0.10 0.74% -zplg-shadow-off
11) 200 19.04 0.10 0.74% 19.04 0.10 0.74% -zplg-shadow-on
12) 200 13.12 0.07 0.51% 13.12 0.07 0.51% -zplg-any-to-user-plugin
13) 200 9.65 0.05 0.37% 9.65 0.05 0.37% -zplg-pack-ice
14) 1 2589.01 2589.01 100.00% 5.99 5.99 0.23% (anon)
-----------------------------------------------------------------------------------
14) 1 2589.01 2589.01 100.00% 5.99 5.99 0.23% (anon)
200/200 2583.02 12.92 99.77% 41.38 0.21 zplugin [5]
Measured time: 2.589
2019-03-18 06:09:42 +01:00
Sebastian Gniazdowski
34d13c3762
zplugin,*install,*autoload: New engine and new option -f/--force for
...
the `update' sub-command. This commit contains support for snippets.
Issue #98
2019-03-18 06:01:36 +01:00
Sebastian Gniazdowski
36e5e103e9
*autoload: Mute the 'wait $pid' invocation
2019-03-17 04:25:08 +01:00
Sebastian Gniazdowski
ecb0b4377e
Updated INSTALLATION.adoc: Fix the link to README.md / Customizing Paths
2019-03-13 07:19:41 +01:00
Alexandros Kozák
6754a19119
Support for systems with termcap or without tput ( #111 )
2019-03-13 05:37:36 +01:00
Sebastian Gniazdowski
b632456c43
install.sh: Follow issue #109 : allow outside source of $ZPLG_HOME param
2019-03-12 23:30:52 +01:00
Sebastian Gniazdowski
884b6deda3
*install: Search for "x86_64" instead of "64" when picking a binary
...
Issue #108
2019-03-12 23:10:00 +01:00
Sebastian Gniazdowski
fa14c8a34f
README,INSTALLATION: Extract installation description into separate file
2019-03-12 18:43:39 +01:00
Sebastian Gniazdowski
60034b26e0
Makefile: Add `doc' to .PHONY targets
2019-03-12 18:39:02 +01:00
Sebastian Gniazdowski
1702120393
*autoload: "plg-spec" -> "plugin-spec"
2019-03-12 18:28:28 +01:00
Sebastian Gniazdowski
2cbc8a619d
zsdoc: Update code documentation
2019-03-12 18:16:52 +01:00
Sebastian Gniazdowski
5fc5dc2f37
*side: Fix an important typo
2019-03-12 17:48:06 +01:00
Sebastian Gniazdowski
bbcd902f87
doc/INTRODUCTION.adoc
2019-03-12 11:21:27 +01:00
Sebastian Gniazdowski
bb02e204ac
*-output.zsh: Shorter text to increase chances of a correct progress bar
2019-03-12 00:09:27 +01:00
xPMo
9c1daab8d6
*-autoload: show full log when updating ( #110 )
...
Bug-fix: single-new-commit plugins weren't updated
2019-03-11 14:23:57 +01:00
Sebastian Gniazdowski
43ac67ff4e
Updated GALLERY.md
2019-02-19 03:40:54 +01:00
Sebastian Gniazdowski
b68c596b6d
*autoload: Stop the pager (of the `update' command) after 20 seconds
...
Issue #100 , comment: https://github.com/zdharma/zplugin/issues/100#issuecomment-459942972
2019-02-04 05:55:56 +01:00
Sebastian Gniazdowski
ddcd8afec8
*autoload: With -q/--quiet update silences all remaining status messages
...
Issue #100
2019-02-04 04:58:38 +01:00
Sebastian Gniazdowski
010c752fea
Updated README.md (a typo)
...
77f6b51b09 (commitcomment-32164382)
2019-02-02 10:09:26 +01:00
Sebastian Gniazdowski
fa4f3a8cc9
Updated README.md (info on the -q/--quiet `update'-subcommand flags)
...
Issue #100
2019-02-02 09:37:14 +01:00
Sebastian Gniazdowski
481dc2a9bb
zplugin,*install,*autoload: -q/--quiet flag for the `update' subcommand
...
Issue #100
2019-02-02 09:30:44 +01:00
Sebastian Gniazdowski
77f6b51b09
Updated README.md
2019-02-01 00:30:12 +01:00
Sebastian Gniazdowski
13653f227a
Updated GALLERY.md (new Zplugin Oh-My-Zsh capability, URL below)
...
https://www.reddit.com/r/zplugin/comments/ahpddw/how_to_load_an_ohmyzsh_plugin_from_a_folder/
2019-01-21 18:06:40 +01:00
Sebastian Gniazdowski
9a56e799de
Follow uo to previous commit: Set zSH automatically if url is oh-My-Zsh
2019-01-21 17:59:19 +01:00
Sebastian Gniazdowski
74d1d2ef81
Reddit: user wants to load OMZ::plugins/osx without a warning message
...
https://www.reddit.com/r/zplugin/comments/ahpddw/how_to_load_an_ohmyzsh_plugin_from_a_folder/
The problem: no ZSH being set up, because the directory layout is
missing Oh-My-Zsh directory layout. This has been fixed in this commit,
by creating a symlink, that allows to assign ZSH="${ZPLG[SIPPETS_DIR]}".
2019-01-21 17:49:52 +01:00
Sebastian Gniazdowski
ea9302b509
zplugin: Limit an influence on the FPATH contents – preserve colons
...
In reaction to:
ecf0bf3e59 (commitcomment-31833883)
2019-01-10 00:33:04 +01:00
Sebastian Gniazdowski
650d483772
*side: -zplg-first: simpler ksharrays-support method: -${#reply} index
2018-12-28 21:23:15 +01:00
Sebastian Gniazdowski
4c6324d298
*side.zsh: -zplg-get-plg-dir' and its use in -zplg-first'
2018-12-28 19:58:27 +01:00
Sebastian Gniazdowski
747be93f20
test-excl-id-as: New ad-hoc test for the exclamation-mark id-as'!...'
...
Issue #96
2018-12-28 17:21:43 +01:00
Sebastian Gniazdowski
de2c390532
test-id-as: Updates that occured because of id-as'!...' new feature #96
2018-12-28 17:14:31 +01:00
Sebastian Gniazdowski
17738d6438
*autoload: Update and fixes for zplugin create ...
...
Issue #68
2018-12-28 14:10:30 +01:00
Sebastian Gniazdowski
e543de6a95
zplugin: Set :prezto:module:{mod-name} zstyles for Prezto snippets
...
Issue #91 . Used some code from there, thanks to @laggardkernel. The
is-loaded zstyle is checked only within pmodload() function, however it
is set in -zplg-load-snippet() function, so this spans on all Prezto
module loads, both from pmodload() and directly via `zplg snippet
PZT::...' or `zplg snippet https://github.com/sorin-ionescu/prezto/ ...'.
2018-12-28 13:17:43 +01:00
Sebastian Gniazdowski
ab4a9c7fa4
zplugin: Restore the lost into-/raw/ GitHub-URL editing (*-load-snippet)
...
Issue #91
2018-12-28 13:12:08 +01:00
Sebastian Gniazdowski
d47a83b512
Updated README.md
2018-12-26 19:04:45 +01:00
Sebastian Gniazdowski
ecf0bf3e59
zplugin,*-side,*-install: Don't expand OMZ:: etc. prefixes so that `zplg
...
times' and other commands, and also directories, are kept short.
2018-12-25 00:58:40 +01:00
Sebastian Gniazdowski
0d9965301f
Updated README.md
2018-12-11 03:09:34 +01:00
Sebastian Gniazdowski
ccccb1b596
Updated README.md
2018-12-10 22:56:23 +01:00
Sebastian Gniazdowski
0c43ac4724
*install: Fix additional compilation ice compile'' handling – add {} exp
...
Pull request #92
2018-12-04 20:09:07 +01:00
Ben Klein
ba2447a0d9
Update P10K gallery invocation ( #92 )
...
* Update P10K gallery invocation
I've made changes that perform the fpath setup in `precmd` and mirrored to github
* atclone compile
2018-12-04 16:28:27 +01:00
Sebastian Gniazdowski
f45c411008
README.md: Clear at which moment any sourcing is done (at which ice-mod)
...
Pull Request #92
2018-12-04 16:26:57 +01:00
Sebastian Gniazdowski
a02a395430
zplugin: pmodload also checks using direct-url if a module is loaded
...
Issue #91
2018-11-26 00:27:13 +01:00
Sebastian Gniazdowski
96d8053725
Performance status 11/13/2018
...
_testp1:
num calls time self name
-----------------------------------------------------------------------------------
1) 200 4961.83 24.81 97.02% 1941.29 9.71 37.96% -zplg-load-plugin
2) 2800 917.91 0.33 17.95% 834.86 0.30 16.32% --zplg-shadow-bindkey
3) 2000 414.86 0.21 8.11% 354.30 0.18 6.93% --zplg-shadow-zle
4) 10400 314.13 0.03 6.14% 314.13 0.03 6.14% -zplg-add-report
5) 1400 322.74 0.23 6.31% 279.44 0.20 5.46% --zplg-shadow-zstyle
6) 600 337.80 0.56 6.61% 271.55 0.45 5.31% --zplg-shadow-alias
7) 400 241.52 0.60 4.72% 241.52 0.60 4.72% -zplg-diff-parameter
8) 1000 272.76 0.27 5.33% 217.97 0.22 4.26% --zplg-shadow-autoload
9) 2800 1001.96 0.36 19.59% 84.05 0.03 1.64% bindkey
10) 200 5075.47 25.38 99.24% 63.91 0.32 1.25% -zplg-load
11) 2000 474.09 0.24 9.27% 59.23 0.03 1.16% zle
12) 400 57.38 0.14 1.12% 57.38 0.14 1.12% -zplg-diff-functions
13) 400 43.40 0.11 0.85% 43.40 0.11 0.85% -zplg-diff-options
14) 1400 364.56 0.26 7.13% 41.82 0.03 0.82% zstyle
15) 200 239.44 1.20 4.68% 41.49 0.21 0.81% select-word-style
16) 400 38.01 0.10 0.74% 38.01 0.10 0.74% -zplg-diff-env
17) 200 78.09 0.39 1.53% 34.96 0.17 0.68% add-zsh-hook
18) 200 5109.11 25.55 99.90% 33.64 0.17 0.66% zplugin
19) 200 31.15 0.16 0.61% 31.15 0.16 0.61% -zplg-shadow-on
20) 1000 303.37 0.30 5.93% 30.61 0.03 0.60% autoload
Measured time: 5.114
_testp2:
num calls time self name
-----------------------------------------------------------------------------------
1) 200 2187.93 10.94 93.69% 1785.89 8.93 76.47% -zplg-load-plugin
2) 1000 269.11 0.27 11.52% 215.25 0.22 9.22% --zplg-shadow-autoload
3) 200 2296.69 11.48 98.35% 61.01 0.31 2.61% -zplg-load
4) 2000 60.13 0.03 2.57% 60.13 0.03 2.57% -zplg-add-report
5) 200 80.85 0.40 3.46% 35.76 0.18 1.53% add-zsh-hook
6) 200 2329.98 11.65 99.77% 33.29 0.17 1.43% zplugin
7) 1000 298.58 0.30 12.79% 29.47 0.03 1.26% autoload
8) 200 28.27 0.14 1.21% 28.27 0.14 1.21% select-word-style
9) 200 27.48 0.14 1.18% 27.48 0.14 1.18% -zplg-register-plugin
10) 200 16.88 0.08 0.72% 16.88 0.08 0.72% -zplg-shadow-off
11) 200 16.29 0.08 0.70% 16.29 0.08 0.70% -zplg-shadow-on
12) 200 11.69 0.06 0.50% 11.69 0.06 0.50% -zplg-any-to-user-plugin
13) 200 8.57 0.04 0.37% 8.57 0.04 0.37% -zplg-pack-ice
14) 1 2335.32 2335.32 100.00% 5.35 5.35 0.23% (anon)
-----------------------------------------------------------------------------------
Measured time: 2.336
2018-11-13 19:55:05 +01:00
Sebastian Gniazdowski
e87366b2bf
zplugin.zsh: Much shorter but simpler UPAR, etc. detection
...
Issue #69
2018-11-13 19:51:44 +01:00
Sebastian Gniazdowski
4eab1ad3cb
zplugin.zsh: Support for UPAR,DOWN*,LEFT*,RIGHT* on left side of bindmap
...
Issue #69
2018-11-13 19:45:58 +01:00
Sebastian Gniazdowski
3ea45b8f77
Performance status 11/13/2018
...
_testp1:
num calls time self name
-----------------------------------------------------------------------------------
1) 200 5010.44 25.05 97.07% 1989.13 9.95 38.54% -zplg-load-plugin
2) 2800 880.15 0.31 17.05% 795.84 0.28 15.42% --zplg-shadow-bindkey
3) 2000 424.10 0.21 8.22% 362.55 0.18 7.02% --zplg-shadow-zle
4) 10400 318.86 0.03 6.18% 318.86 0.03 6.18% -zplg-add-report
5) 600 351.81 0.59 6.82% 283.47 0.47 5.49% --zplg-shadow-alias
6) 1400 322.85 0.23 6.25% 280.09 0.20 5.43% --zplg-shadow-zstyle
7) 400 249.16 0.62 4.83% 249.16 0.62 4.83% -zplg-diff-parameter
8) 1000 276.77 0.28 5.36% 221.19 0.22 4.29% --zplg-shadow-autoload
9) 2800 964.60 0.34 18.69% 84.45 0.03 1.64% bindkey
10) 200 5123.04 25.62 99.25% 63.84 0.32 1.24% -zplg-load
11) 2000 483.66 0.24 9.37% 59.57 0.03 1.15% zle
12) 400 58.55 0.15 1.13% 58.55 0.15 1.13% -zplg-diff-functions
13) 400 44.68 0.11 0.87% 44.68 0.11 0.87% -zplg-diff-options
14) 1400 363.72 0.26 7.05% 40.87 0.03 0.79% zstyle
15) 200 232.61 1.16 4.51% 40.30 0.20 0.78% select-word-style
16) 400 37.86 0.09 0.73% 37.86 0.09 0.73% -zplg-diff-env
17) 200 80.52 0.40 1.56% 36.08 0.18 0.70% add-zsh-hook
18) 200 5156.39 25.78 99.90% 33.35 0.17 0.65% zplugin
19) 200 31.88 0.16 0.62% 31.88 0.16 0.62% -zplg-shadow-on
20) 1000 307.17 0.31 5.95% 30.39 0.03 0.59% autoload
Measured time: 5.162
_testp2:
num calls time self name
-----------------------------------------------------------------------------------
1) 200 2233.45 11.17 93.67% 1814.00 9.07 76.08% -zplg-load-plugin
2) 1000 282.18 0.28 11.83% 224.37 0.22 9.41% --zplg-shadow-autoload
3) 2000 64.24 0.03 2.69% 64.24 0.03 2.69% -zplg-add-report
4) 200 2344.98 11.72 98.35% 63.02 0.32 2.64% -zplg-load
5) 200 81.88 0.41 3.43% 36.17 0.18 1.52% add-zsh-hook
6) 200 2379.14 11.90 99.78% 34.16 0.17 1.43% zplugin
7) 1000 312.93 0.31 13.12% 30.75 0.03 1.29% autoload
8) 200 29.21 0.15 1.22% 29.21 0.15 1.22% select-word-style
9) 200 27.46 0.14 1.15% 27.46 0.14 1.15% -zplg-register-plugin
10) 200 17.55 0.09 0.74% 17.55 0.09 0.74% -zplg-shadow-off
11) 200 17.17 0.09 0.72% 17.17 0.09 0.72% -zplg-shadow-on
12) 200 12.18 0.06 0.51% 12.18 0.06 0.51% -zplg-any-to-user-plugin
13) 200 8.88 0.04 0.37% 8.88 0.04 0.37% -zplg-pack-ice
14) 1 2384.39 2384.39 100.00% 5.24 5.24 0.22% (anon)
-----------------------------------------------------------------------------------
Measured time: 2.385
2018-11-13 19:39:24 +01:00
Sebastian Gniazdowski
bdf612ca0d
zplugin,README: Provide zpcompdef' function which mimics compdef'
...
It saves the `compdef' definition for a later run via `zpcdreplay'
or `zplugin cdreplay'.
2018-11-11 23:07:31 +01:00
Sebastian Gniazdowski
515f8fb55d
*-output: Handle alternate counting-like git output
2018-10-29 21:23:37 +01:00
Sebastian Gniazdowski
f0b664951f
zplugin,*autoload: Bindkey-only tracking with ice-mod `trackbinds' or
...
option `-b' passed to `light'-subcommand, i.e. zplugin light -b ... Issue #69
2018-10-28 22:20:23 +01:00
Sebastian Gniazdowski
bac1d20c37
*install: For plugins, *install-completions was called too early #87
2018-10-28 21:12:16 +01:00
Sebastian Gniazdowski
afa4e47208
zplugin: Bugfix: misentered argument number, $4 -> $5, #59
...
The error reveals itself when installing a faulty plugin.
2018-10-25 05:36:01 +02:00
Sebastian Gniazdowski
1b43e9d797
*autoload: warncreateglobal catched one parameter. The tests are fixed
2018-10-24 23:37:34 +02:00
Sebastian Gniazdowski
ad6780cf5f
zplugin,*autoload: Bugfix: review all "user/plugin"-string creations
2018-10-24 23:03:08 +02:00
Sebastian Gniazdowski
dde100db60
zplugin: Actually utilize zplugin binary module for report-append op
2018-10-24 21:40:00 +02:00
Sebastian Gniazdowski
ef06d41f7a
zplugin,*autoload: Simplify *add-report(), 2 lines of code instead of 8
...
Report colorizing moved out from zplugin-kernel into autoload source file.
2018-10-24 21:33:45 +02:00
Sebastian Gniazdowski
b849993f17
~all: New ice `bindmap', e.g. bindmap'^R -> ^T', changes any keys bound
...
Issue #69 . This ice-mod allows to manage bindkeys plugins do.
2018-10-24 17:52:28 +02:00
jamartin9
5828f72029
Added cloneopts to ice modifiers to pass git clone flags. ( #86 )
...
* Added cloneopts to ice modifiers to pass git clone flags.
Changed clone depth to 1.
* review changes
2018-10-24 15:07:38 +02:00
Sebastian Gniazdowski
e815314864
*autoload: Fix `zplg update' for basic single-word ID plugins
2018-10-24 12:46:14 +02:00
Sebastian Gniazdowski
50f7787b1d
zplugin,*autoload: Deep insight into absolute path plugins, big uplift
...
Issue #84
2018-10-16 20:57:55 +02:00
Sebastian Gniazdowski
08229d9d80
*install: Fix absolute path plugin handling, in *compile-plugin
2018-10-16 20:51:36 +02:00
Sebastian Gniazdowski
f9c0497bf0
zplugin: Remove up to 3 slashes after plugin-spec, e.g. path: /a/b///
2018-10-16 20:50:28 +02:00
Sebastian Gniazdowski
c1fc6d9325
Updated README.md #80
2018-10-16 09:59:05 +02:00
Sebastian Gniazdowski
0ae1400a88
Updated GALLERY.md (robobenklein/p10k)
...
Issue #77
2018-10-16 09:08:49 +02:00
Sebastian Gniazdowski
1fc7e8c4bf
Update README.md
2018-10-12 15:49:13 +02:00
Sebastian Gniazdowski
7cb79d3645
zplugin,*autoload: Fix multiple id & path generation for local plugins
...
Issue #84 .
2018-10-09 16:47:16 +02:00
Sebastian Gniazdowski
2f254c6413
zplugin: Update autoload shadowing function: handle +X and new options
2018-10-09 12:10:26 +02:00
Sebastian Gniazdowski
bf38e94218
*autoload: Filter {precmd,etc.}_functions excluding function being unset
...
Issue #78
2018-10-09 05:00:22 +02:00
Sebastian Gniazdowski
7f9e6fb99e
zplugin: Error codes from `source' commands flow to upper functions
...
Issue #59 .
2018-10-09 03:05:31 +02:00
Sebastian Gniazdowski
93815b8c01
Travis: fetch `tests' branch with --depth=1
2018-10-09 01:42:51 +02:00
Sebastian Gniazdowski
0509b09287
zplugin,*install: Failing noextendedglob tests -> mistake dependance (!)
...
Issue #81 . When adding id-as'', extended_glob-option dependency was added.
2018-10-09 01:35:40 +02:00
Sebastian Gniazdowski
773c8e4d04
*install: T26: atpull in single-file snippet didn't CD to its directory
...
Issue #81 , problems introduced by id-as'' ice. T26: test 26
2018-10-08 23:16:05 +02:00
Sebastian Gniazdowski
a302264994
zplugin: Fix atload'' cd-path, revealed by test26
...
Issue #81
2018-10-08 21:16:14 +02:00
Sebastian Gniazdowski
e1c3e23585
zplugin: Create ZERO for snippets in one main place. Test 23 revealed
...
warncreateglobal warning.
2018-10-08 20:27:04 +02:00
Sebastian Gniazdowski
86c261f64e
*side: Fix warncreateglobal message reported by tests, in *-two-paths
...
Issue #81
2018-10-08 17:37:10 +02:00
Sebastian Gniazdowski
d810f5f560
Travis: Searching for a proper way to fetch branch `tests' (2)
2018-10-08 17:31:49 +02:00
Sebastian Gniazdowski
a31fce0731
Travis: Searching for a proper way to fetch branch `tests' (1)
...
Issue #81
2018-10-08 17:20:42 +02:00
Sebastian Gniazdowski
52c1943e45
Travis: use the new orphan branch tests' as a second worktree ./test'
...
Issue #81
2018-10-08 17:15:16 +02:00
Sebastian Gniazdowski
5bc88e78cf
test: Remove test/ directory, it is an orphan branch now
...
To run tests, use `git worktree ...' to checkout branch `tests' into
directory `test'.
2018-10-08 16:55:55 +02:00
Sebastian Gniazdowski
e727ec50cc
zplugin,*side: General snippets FIX, makes serious problems go away
...
Issue #83 . It was wrong SVN vs. non-SVN path generation.
2018-10-07 13:23:22 +02:00
Sebastian Gniazdowski
ed50d01d32
*install: FIX local-filesystem absolute-path snippets
...
Issue #83 . Absolute-path snippets should work correctly now.
2018-10-07 13:21:05 +02:00
Sebastian Gniazdowski
2ee250f93f
all: MAJOR update – added id-as'' ice, e.g. id-as'my/plugin' to nickname
...
your plugin or snippet as `my/plugin'. Report problems to: https://github.com/zdharma/zplugin/issues
Issue #81 . This feature allows:
- to load a plugin/snippet twice, under different ID, e.g. when you want
to load main plugin but also e.g. a completion-setup script,
- keep different versions of a plugin, load under constant, stable name,
- use arbitrary ID instead of a long snippet URL,
- some people are running code via atinit/atload/atclone/atpull and need
multiple copies of a dummy plugin as a placeholder for the ice-mods -
- now it's possible to have 1 physical plugin, and 1..N logical ones.
2018-10-07 00:22:04 +02:00
Sebastian Gniazdowski
d5cec1f617
test-id-as: Create own plugins/snippets dirs unless --reuse given
...
Issue #81
2018-10-06 20:52:36 +02:00
Sebastian Gniazdowski
6e8994c407
zplugin,*install: Replace echo' with print' – echo is for debug msgs
...
Effort for issue #81
2018-10-06 14:33:42 +02:00
Sebastian Gniazdowski
dcdd0b25ff
zplugin: Don't compile as'command' entities (plugins & snippets) #81
...
Included in #81 because it's side-effect of #81 multiday effort.
2018-10-06 14:06:24 +02:00
Sebastian Gniazdowski
d12b9373bb
test-id-as: Verify new subcommands: creinstall', cclear'
...
Issue #81
2018-10-05 22:51:29 +02:00
Sebastian Gniazdowski
a397fb5422
test-id-as: Extend the script to test more of id-as'' ice (zplg delete)
...
Issue #81
2018-10-05 22:34:27 +02:00
Sebastian Gniazdowski
7b08602505
Ad-hoc script `doc/test-id-as' to test id-as ice; id-as'' is coming soon
...
Issue #81
2018-10-05 20:32:50 +02:00
Sebastian Gniazdowski
35c3967224
*autoload.zsh: Include 10 words from commit body in self-update message
...
Users will see general-description of introduced changes.
2018-10-04 21:03:47 +02:00
Sebastian Gniazdowski
11cc312fcc
One more empty commit to test the new `zplugin self-update ...' features
...
Test body.
2018-10-04 20:21:12 +02:00
Sebastian Gniazdowski
2f1a2a39cd
An empty commit to test the new `zplugin self-update ...' features
2018-10-04 20:19:28 +02:00
Sebastian Gniazdowski
c74ccdfc5d
zplugin: UNSE (user-noticable side effects): do not touch $MANPATH
...
Issue #76 . Various systems (e.g. OS X) have own sophisticated man-path
scripts, etc.
2018-10-04 18:44:38 +02:00
Sebastian Gniazdowski
7b75cddf6e
*autoload: `cuninstall' to support snippets and shorthand-ids/urls
...
Issue #81
2018-09-30 23:11:13 +02:00
Sebastian Gniazdowski
9ed8fa79cc
*autoload: Less tricky way of getting completion owner, for #81
...
Also fixed improper statuses in `clist'
2018-09-30 21:07:59 +02:00
Sebastian Gniazdowski
9b888c3eb0
_zplugin: Update completion for the upcoming changes (id-as ice-mod)
...
Issue #81
2018-09-30 20:33:30 +02:00
Sebastian Gniazdowski
8fb1de0552
zplugin: On OS X, do not alter MANPATH if already non-empty #76
2018-09-30 20:15:44 +02:00
Sebastian Gniazdowski
c844d81d20
zplugin: Remove stray debug message (std{err,out} of zsystem flock)
2018-09-30 19:46:26 +02:00
Sebastian Gniazdowski
88d668cfa0
zplugin: Saving PS1, etc. *values* proved no use-case, remove it
...
Issue #81 because detected this when working on the id-as ice-mod
2018-09-30 19:43:29 +02:00
Sebastian Gniazdowski
67acea0fd5
zplugin: Uplift -zplg-any-to-user-plugin code, e.g. faster comparisons
...
Issue #81
2018-09-29 23:39:52 +02:00
Sebastian Gniazdowski
5194709523
zplugin,*side,*install,*autoload: Use [@] not (@) for KSH_ARRAYS compat.
2018-09-29 23:24:14 +02:00
Sebastian Gniazdowski
54d2c4173e
module: Introducing `readarray' builtin – currently parsing of options
...
Issue #73
2018-09-29 22:54:59 +02:00
Sebastian Gniazdowski
63459e035b
*install: Fix atpull'!...' run for local-file snippet – *do* cd into dir
2018-09-29 22:39:26 +02:00
Sebastian Gniazdowski
230c13a04f
zplugin: Don't redefine IFS in autload stub #79
...
Investigation done in mafredri/zsh-async#30 , then confirmed.
2018-09-27 04:04:42 +02:00
Sebastian Gniazdowski
65d4123f0e
*-output.zsh: Lack of packed-data means 0 packed objects
2018-09-21 16:03:40 +02:00
Sebastian Gniazdowski
effa881824
*-output: Fix writing-out the remote:* lines
2018-09-21 15:46:23 +02:00
Sebastian Gniazdowski
1aaaa90f89
*-output.zsh: Don't filter-out error messages
2018-09-21 14:13:46 +02:00
Sebastian Gniazdowski
ef1f1b51e7
Updated README.md
2018-09-20 09:41:55 +02:00
Sebastian Gniazdowski
902783407a
*-output.zsh: Theoretical handling of Git authentication
2018-09-18 07:51:13 +02:00
Sebastian Gniazdowski
4d8fe294a5
zplugin: ZPLGM[MUTE_WARNINGS] field, mutes 'already registered' warning
...
Issue #72
2018-09-01 22:04:16 +02:00
Sebastian Gniazdowski
7a24478e58
zplugin: Better detection if a snippet is already downloaded, for mv/cp
2018-08-30 14:19:36 +02:00
Sebastian Gniazdowski
eaaf5a0a44
Updated README.md
2018-08-30 12:20:32 +02:00
Sebastian Gniazdowski
ce715fd803
*-output.zsh: Use actual git percents, hide cursor
2018-08-30 11:18:06 +02:00
Sebastian Gniazdowski
24034b1a61
*-output.zsh: An progress bar that serves as eyeball animation
2018-08-30 11:00:46 +02:00
Sebastian Gniazdowski
0ba766a68f
Updated README.md
2018-08-30 06:43:34 +02:00
Sebastian Gniazdowski
a42af53aad
zplugin,README: New as'' ice-mod value: completion
2018-08-30 06:33:55 +02:00
Sebastian Gniazdowski
cb2128cd48
*install,README: make'' can obtain two '!', to run before mv'', cp''
2018-08-29 07:25:03 +02:00
Sebastian Gniazdowski
8587974d7f
Updated DONATIONS.md
2018-08-28 22:18:20 +02:00
Sebastian Gniazdowski
045a1fc20c
Updated DONATIONS.md
2018-08-28 21:37:45 +02:00
Sebastian Gniazdowski
0a6b55bda6
Updated README.md
2018-08-28 11:04:12 +02:00
Sebastian Gniazdowski
8325c7187e
Updated README.md, DONATIONS.md
2018-08-27 19:06:39 +02:00
Sebastian Gniazdowski
7f2c9f648b
DONATIONS.md
2018-08-27 18:58:51 +02:00
Sebastian Gniazdowski
38f4071e55
Updated README.md
2018-08-27 12:14:25 +02:00
Sebastian Gniazdowski
c69385d102
Empty commit to check self-update, etc. related patch (previous)
2018-08-25 00:47:22 +02:00
Sebastian Gniazdowski
a60c053460
*autoload: less (self-update, etc.) needs -R to show colors
2018-08-25 00:43:40 +02:00
Sebastian Gniazdowski
051ebda341
zplugin: Try to address exec + noclobber on older zsh (apparently)
2018-08-25 00:38:38 +02:00
Sebastian Gniazdowski
d0f5d07579
Updated README.md
2018-08-23 22:07:29 +02:00
Sebastian Gniazdowski
f41e03de10
Updated README.md
2018-08-23 20:31:02 +02:00
Sebastian Gniazdowski
bc276462dc
Updated README.md
2018-08-23 20:08:32 +02:00
Sebastian Gniazdowski
d4458c37ed
Updated README.md – better example config, the binary-module usage info
2018-08-23 20:03:07 +02:00
Sebastian Gniazdowski
8339fd339b
Updated README.md
2018-08-22 20:21:55 +02:00
Sebastian Gniazdowski
7b96fad9a6
doc: mod-install.sh
2018-08-22 20:16:53 +02:00
Sebastian Gniazdowski
ba1ba64f5e
module: Update zpmod usage text
2018-08-22 20:08:49 +02:00
Sebastian Gniazdowski
b0d72e81b5
zplugin,*autoload: `module' command, manages new zdharma/zplugin module
2018-08-22 19:29:27 +02:00
Sebastian Gniazdowski
706bbb35fb
Update Zsh source files to latest
2018-08-22 10:06:45 +02:00
Sebastian Gniazdowski
b77426f635
module: source-study builds report with milliseconds without fractions
2018-08-20 15:52:30 +02:00
Sebastian Gniazdowski
c3cc09b9b2
module: Updated zpmod_usage, i.a. with `source-study' sub-command
2018-08-20 10:52:48 +02:00
Sebastian Gniazdowski
61902957c9
module: Go back to subcommand-interface to `zpmod'; simple option parser
2018-08-20 10:40:27 +02:00
Sebastian Gniazdowski
881005f26c
module: Report on sourcing times is shown on zpmod -S. Done generation
2018-08-20 06:08:04 +02:00
Sebastian Gniazdowski
e5d046a924
module: Correct conditions on zwc file vs. script file (after stats)
2018-08-19 23:21:47 +02:00
Sebastian Gniazdowski
1282c215bd
module: Duration of sourcing a file is measured and stored into a hash
2018-08-19 23:16:11 +02:00
Sebastian Gniazdowski
e080153cc8
module: Overload both source' and .' builtins
2018-08-18 19:52:56 +02:00
Sebastian Gniazdowski
580efb828b
module: Invoke bin_zcompile with -U option (i.e. no alias expansion)
2018-08-18 19:45:51 +02:00
Sebastian Gniazdowski
b7d983674b
module: Custom `source' ensures script is compiled, compiles if not
2018-08-18 19:39:06 +02:00
Sebastian Gniazdowski
1e75a47529
module: Code cleanup, vim folding
2018-08-18 17:49:24 +02:00
Sebastian Gniazdowski
a4a02f306e
module: Finally working source'/.' overload (used options translating)
2018-08-18 13:48:19 +02:00
Sebastian Gniazdowski
99bba56c70
module: zpmod_usage gained content
2018-08-16 20:02:30 +02:00
Sebastian Gniazdowski
04703cd0d1
module: Add the main builtin zpmod with report-append which is working
2018-08-16 19:23:18 +02:00
Sebastian Gniazdowski
cd6dc19f69
module: my_ztrdup_glen, zp_unmetafy_zalloc
2018-08-16 19:21:25 +02:00
Sebastian Gniazdowski
6d44e36134
module: Cleanup, `source' overload after patron leoj3n restarted module
2018-08-16 14:38:07 +02:00
Sebastian Gniazdowski
259ed171ba
Updated README.md
2018-08-15 17:07:37 +02:00
Sebastian Gniazdowski
ec09627969
zplugin,*autoload: New $ZPLGM field COMPINIT_OPTS – options for compinit
2018-08-15 16:46:11 +02:00
Sebastian Gniazdowski
6e395f70b2
zsdoc,zplugin: Update code documentation
2018-08-14 19:22:51 +02:00
Sebastian Gniazdowski
e0505c747e
Updated README.md
2018-08-13 21:09:48 +02:00
Sebastian Gniazdowski
80d7029a54
Empty commit to test commit-listing feature of `self-update'
2018-08-13 19:45:34 +02:00
Sebastian Gniazdowski
9b94f68973
*autoload: `self-update' now shows new commits that are downloaded
2018-08-13 19:44:00 +02:00
Sebastian Gniazdowski
f83d14180a
*install: No need for sleep 0.3 anymore, git output is fixed
2018-08-13 19:37:05 +02:00
Sebastian Gniazdowski
81b9b5aa1e
_zplugin: Complete only directories to `cd' and similar. Separate cmds
...
Issue #70
Commands that don't accept absolute paths are now completed with plugins
only (i.e. they have been separated from commands like light, load, etc)
2018-08-13 18:44:40 +02:00
Sebastian Gniazdowski
f7315d3a66
*-output.zsh: Uplift git output shortener – horrible buffering now fixed
2018-08-13 16:26:02 +02:00
Sebastian Gniazdowski
c929f4c45d
zplugin,*autoload: New subcommand bindkeys
...
Issue #69
2018-08-12 08:26:33 +02:00
Alexandros Kozak
707a6e5e52
Check $OSTYPE when establishing MANPATH
2018-07-30 05:40:34 +02:00
Alexandros Kozak
27ea6fb186
Don't clobber Solaris/OpenIndiana MANPATH
2018-07-29 06:45:20 +02:00
Sebastian Gniazdowski
7adf2fac6e
Updated README.md
...
Issue #56
2018-07-28 15:54:44 +02:00
Sebastian Gniazdowski
3f392166f1
Updated GALLERY.md
2018-07-28 15:54:02 +02:00
Sebastian Gniazdowski
e3dde15615
zplugin,*install: When doing `cd' within zplugin, unset AUTO_PUSHD #62
2018-07-26 12:05:43 +02:00
Sebastian Gniazdowski
fdae1ce77c
*install: Better method of redirecting Git output, no disturbed text #51
2018-07-26 11:03:48 +02:00
Sebastian Gniazdowski
ade4aca404
*install: Don't compile pick'/dev/null'
2018-07-26 11:01:16 +02:00
Sebastian Gniazdowski
b04e6225e4
Updated README.md
2018-07-25 12:00:48 +02:00