notify
Summary
Section titled “Summary”notify'' prints a custom message under the prompt after a plugin or snippet finishes
loading. On failure it always prints a warning with the return code.
Syntax / Usage
Section titled “Syntax / Usage”zi ice notify"message to show"zi ice notify"!always show this" # ! prefix: show even on successzi ice notify"" # empty: only notify on failureDetails
Section titled “Details”When loading succeeds, the message is shown under the prompt. When loading fails, a warning message and return code are shown regardless of what the ice value is.
If the value starts with !, the message is shown unconditionally (always, not only
on success).
An empty value (notify"") causes Zinit to stay silent on success but still warn on
failure.
Examples
Section titled “Examples”# Print a message when a slow plugin finishes loadingzi ice wait lucid notify"my-plugin ready"zi light user/my-plugin
# Only alert on errorszi ice wait notify""zi light user/might-fail-pluginSee Also
Section titled “See Also”- lucid
- silent