zdharma-continuum.zinit/doc/zsdoc/zinit-autoload.zsh.adoc
GitHub Actions 89e1858b72 docs: generate
Signed-off-by: GitHub Actions <actions@github.com>
2026-01-03 13:41:34 +00:00

1662 lines
33 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

NAME
zinit-autoload.zsh - a shell script
Documentation automatically generated with `zshelldoc'
== FUNCTIONS
.zi-check-for-git-changes
.zinit-any-to-uspl2
.zinit-at-eval
.zinit-build-module
.zinit-cd
.zinit-cdisable
.zinit-cenable
.zinit-changes
.zinit-check-comp-consistency
.zinit-check-which-completions-are-enabled
.zinit-check-which-completions-are-installed
.zinit-clear-completions
.zinit-clear-report-for
.zinit-compile-plugin
.zinit-compile-uncompile-all
.zinit-compiled
.zinit-confirm
.zinit-create
.zinit-delete
.zinit-diff-env-compute
.zinit-diff-functions-compute
.zinit-diff-options-compute
.zinit-diff-parameter-compute
.zinit-edit
.zinit-exists-message
.zinit-find-completions-of-plugin
.zinit-format-env
.zinit-format-functions
.zinit-format-options
.zinit-format-parameter
.zinit-get-completion-owner
.zinit-get-completion-owner-uspl2col
.zinit-get-path
.zinit-glance
.zinit-help
.zinit-list-bindkeys
.zinit-list-compdef-replay
.zinit-list-plugins
.zinit-list-snippets
.zinit-module
.zinit-pager
.zinit-prepare-readlink
.zinit-prompt
.zinit-recall
.zinit-recently
.zinit-restore-extendedglob
.zinit-run-delete-hooks
.zinit-save-set-extendedglob
.zinit-search-completions
.zinit-self-update
.zinit-show-all-reports
.zinit-show-completions
.zinit-show-debug-report
.zinit-show-report
.zinit-show-times
.zinit-show-zstatus
.zinit-stress
.zinit-uncompile-plugin
.zinit-uninstall-completions
.zinit-unload
.zinit-unregister-plugin
.zinit-update-all-parallel
.zinit-update-or-status
.zinit-update-or-status-all
.zinit-update-or-status-snippet
.zinit-wait-for-update-jobs
zi::version
=== DETAILS
==== Script Body
Has 5 line(s). No functions are called (may set up e.g. a hook, a Zle widget bound to a key, etc.).
Uses feature(s): _source_
==== .zi-check-for-git-changes
____
Check for Git updates
$1 - Absolute path to Git repository"
____
Has 12 line(s). Calls functions:
.zi-check-for-git-changes
`-- zinit.zsh/+zi-log
Called by:
.zinit-self-update
==== .zinit-any-to-uspl2
____
Converts given plugin-spec to format that's used in keys for hash tables.
So basically, creates string "user/plugin" (this format is called: uspl2).
$1 - plugin spec (4 formats: user---plugin, user/plugin, user, plugin)
$2 - (optional) plugin (only when $1 - i.e. user - given)
____
Has 2 line(s). Calls functions:
.zinit-any-to-uspl2
`-- zinit.zsh/.zinit-any-to-user-plugin
Called by:
.zinit-clear-report-for
.zinit-exists-message
==== .zinit-at-eval
Has 5 line(s). Calls functions:
.zinit-at-eval
`-- zinit.zsh/@zinit-substitute
Uses feature(s): _eval_
Not called by script or any function (may be e.g. a hook, a Zle widget, etc.).
==== .zinit-build-module
____
Performs ./configure && make on the module and displays information
how to load the module in .zshrc.
____
Has 39 line(s). Calls functions:
.zinit-build-module
|-- .zinit-module
`-- zinit.zsh/+zi-log
Uses feature(s): _setopt_, _trap_
Called by:
.zinit-module
==== .zinit-cd
____
Jumps to plugin's directory (in Zinit's home directory).
User-action entry point.
$1 - plugin spec (4 formats: user---plugin, user/plugin, user, plugin)
$2 - plugin (only when $1 - i.e. user - given)
____
Has 15 line(s). Calls functions:
.zinit-cd
|-- .zinit-get-path
|   `-- zinit.zsh/.zinit-get-object-path
`-- zinit.zsh/+zi-log
Uses feature(s): _setopt_
Not called by script or any function (may be e.g. a hook, a Zle widget, etc.).
==== .zinit-cdisable
____
Enables given installed completion.
User-action entry point.
$1 - e.g. "_mkdir" or "mkdir"
____
Has 30 line(s). Calls functions:
.zinit-cdisable
|-- .zinit-check-comp-consistency
|-- .zinit-get-completion-owner-uspl2col
|   |-- .zinit-get-completion-owner
|   `-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
`-- .zinit-prepare-readlink
Called by:
zinit.zsh/zinit
==== .zinit-cenable
____
Disables given installed completion.
User-action entry point.
$1 - e.g. "_mkdir" or "mkdir"
____
Has 31 line(s). Calls functions:
.zinit-cenable
|-- .zinit-check-comp-consistency
|-- .zinit-get-completion-owner-uspl2col
|   |-- .zinit-get-completion-owner
|   `-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
`-- .zinit-prepare-readlink
Called by:
zinit.zsh/zinit
==== .zinit-changes
____
Shows `git log` of given plugin.
User-action entry point.
$1 - plugin spec (4 formats: user---plugin, user/plugin, user, plugin)
$2 - plugin (only when $1 - i.e. user - given)
____
Has 9 line(s). Calls functions:
.zinit-changes
|-- zinit-side.zsh/.zinit-exists-physically-message
`-- zinit.zsh/.zinit-any-to-user-plugin
Not called by script or any function (may be e.g. a hook, a Zle widget, etc.).
==== .zinit-check-comp-consistency
____
Zinit creates symlink for each installed completion.
This function checks whether given completion (i.e.
file like "_mkdir") is indeed a symlink. Backup file
is a completion that is disabled - has the leading "_"
removed.
$1 - path to completion within plugin's directory
$2 - path to backup file within plugin's directory
____
Has 11 line(s). Doesn't call other functions.
Called by:
.zinit-cdisable
.zinit-cenable
==== .zinit-check-which-completions-are-enabled
____
For each argument that each should be a path to completion
within a plugin's dir, it checks whether that completion
is disabled - returns 0 or 1 on corresponding positions
in reply.
Uninstalled completions will be reported as "0"
- i.e. disabled
$1, ... - path to completion within plugin's directory
____
Has 11 line(s). Doesn't call other functions.
Called by:
.zinit-show-report
==== .zinit-check-which-completions-are-installed
____
For each argument that each should be a path to completion
within a plugin's dir, it checks whether that completion
is installed - returns 0 or 1 on corresponding positions
in reply.
$1, ... - path to completion within plugin's directory
____
Has 12 line(s). Doesn't call other functions.
Called by:
.zinit-show-report
==== .zinit-clear-completions
____
Delete stray and improper completions.
Completions live even when plugin isn't loaded - if they are
installed and enabled.
User-action entry point.
____
Has 37 line(s). Calls functions:
.zinit-clear-completions
|-- .zinit-get-completion-owner
|-- .zinit-prepare-readlink
`-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
Uses feature(s): _setopt_
Called by:
zinit.zsh/.zinit-prepare-home
zinit.zsh/zinit
==== .zinit-clear-report-for
____
Clears all report data for given user/plugin. This is
done by resetting all related global ZINIT_* hashes.
$1 - plugin spec (4 formats: user---plugin, user/plugin, user, plugin)
$2 - (optional) plugin (only when $1 - i.e. user - given)
____
Has 23 line(s). Calls functions:
.zinit-clear-report-for
`-- .zinit-any-to-uspl2
`-- zinit.zsh/.zinit-any-to-user-plugin
Called by:
.zinit-unload
zinit-additional.zsh/.zinit-debug-clear
==== .zinit-compile-plugin
____
Compiles given plugin (its main source file, and also an
additional "....zsh" file if it exists).
$1 - plugin spec (4 formats: user---plugin, user/plugin, user, plugin)
$2 - plugin (only when $1 - i.e. user - given)
____
Has 85 line(s). Calls functions:
.zinit-compile-plugin
|-- zinit-side.zsh/.zinit-compute-ice
|-- zinit-side.zsh/.zinit-first
`-- zinit.zsh/+zi-log
Uses feature(s): _setopt_, _zcompile_
Called by:
zinit-install.zsh/∞zinit-compile-plugin-hook
==== .zinit-compile-uncompile-all
____
Compiles or uncompiles all existing (on disk) plugins.
User-action entry point.
____
Has 24 line(s). Calls functions:
.zinit-compile-uncompile-all
|-- zinit.zsh/+zi-log
`-- zinit.zsh/.zinit-any-to-user-plugin
Uses feature(s): _setopt_
Called by:
zinit.zsh/zinit
==== .zinit-compiled
____
Displays list of plugins that are compiled.
User-action entry point.
____
Has 21 line(s). Calls functions:
.zinit-compiled
|-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
`-- zinit.zsh/.zinit-any-to-user-plugin
Uses feature(s): _setopt_
Called by:
zinit.zsh/zinit
==== .zinit-confirm
____
Prints given question, waits for "y" key, evals
given expression if "y" obtained
$1 - question
$2 - expression
____
Has 17 line(s). Calls functions:
.zinit-confirm
`-- zinit.zsh/+zi-log
Uses feature(s): _eval_, _read_
Not called by script or any function (may be e.g. a hook, a Zle widget, etc.).
==== .zinit-create
____
Creates a plugin, also on Github (if not "_local/name" plugin).
User-action entry point.
$1 - (optional) plugin spec (4 formats: user---plugin, user/plugin, user, plugin)
$2 - (optional) plugin (only when $1 - i.e. user - given)
____
Has 102 line(s). Calls functions:
.zinit-create
|-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
|-- zinit-side.zsh/.zinit-exists-physically
`-- zinit.zsh/.zinit-any-to-user-plugin
Uses feature(s): _autoload_, _setopt_, _vared_
Not called by script or any function (may be e.g. a hook, a Zle widget, etc.).
==== .zinit-delete
____
Deletes a plugin or snippet and related files and hooks
$1 - snippet url or plugin
____
Has 129 line(s). Calls functions:
.zinit-delete
|-- .zinit-prompt
|-- .zinit-run-delete-hooks
|   `-- zinit.zsh/+zi-log
|-- zinit.zsh/+zi-log
|-- zinit.zsh/.zinit-any-to-user-plugin
`-- zinit.zsh/zinit
Uses feature(s): _setopt_, _zmodload_, _zparseopts_
Called by:
zinit.zsh/zinit
==== .zinit-diff-env-compute
____
Computes ZINIT_PATH, ZINIT_FPATH that hold (f)path components
added by plugin. Uses data gathered earlier by .zinit-diff-env().
$1 - user/plugin
____
Has 30 line(s). Doesn't call other functions.
Uses feature(s): _setopt_
Called by:
.zinit-show-report
.zinit-unload
==== .zinit-diff-functions-compute
____
Computes FUNCTIONS that holds new functions added by plugin.
Uses data gathered earlier by .zinit-diff-functions().
$1 - user/plugin
____
Has 19 line(s). Doesn't call other functions.
Uses feature(s): _setopt_
Called by:
.zinit-show-report
.zinit-unload
==== .zinit-diff-options-compute
____
Computes OPTIONS that holds options changed by plugin.
Uses data gathered earlier by .zinit-diff-options().
$1 - user/plugin
____
Has 17 line(s). Doesn't call other functions.
Uses feature(s): _setopt_
Called by:
.zinit-show-report
.zinit-unload
==== .zinit-diff-parameter-compute
____
Computes ZINIT_PARAMETERS_PRE, ZINIT_PARAMETERS_POST that hold
parameters created or changed (their type) by plugin. Uses
data gathered earlier by .zinit-diff-parameter().
$1 - user/plugin
____
Has 28 line(s). Doesn't call other functions.
Uses feature(s): _setopt_
Called by:
.zinit-show-report
.zinit-unload
==== .zinit-edit
____
Runs $EDITOR on source of given plugin. If the variable is not
set then defaults to `vim'.
User-action entry point.
$1 - plugin spec (4 formats: user---plugin, user/plugin, user, plugin)
$2 - plugin (only when $1 - i.e. user - given)
____
Has 22 line(s). Calls functions:
.zinit-edit
`-- zinit-side.zsh/.zinit-compute-ice
Not called by script or any function (may be e.g. a hook, a Zle widget, etc.).
==== .zinit-exists-message
____
Checks if plugin is loaded. Testable. Also outputs error
message if plugin is not loaded.
$1 - plugin spec (4 formats: user---plugin, user/plugin, user, plugin)
$2 - (optional) plugin (only when $1 - i.e. user - given)
____
Has 7 line(s). Calls functions:
.zinit-exists-message
|-- .zinit-any-to-uspl2
|   `-- zinit.zsh/.zinit-any-to-user-plugin
`-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
Called by:
.zinit-show-report
.zinit-unload
==== .zinit-find-completions-of-plugin
____
Searches for completions owned by given plugin.
Returns them in `reply' array.
$1 - plugin spec (4 formats: user---plugin, user/plugin, user, plugin)
$2 - plugin (only when $1 - i.e. user - given)
____
Has 6 line(s). Calls functions:
.zinit-find-completions-of-plugin
`-- zinit.zsh/.zinit-any-to-user-plugin
Uses feature(s): _setopt_
Called by:
.zinit-show-report
==== .zinit-format-env
____
Creates one-column text about FPATH or PATH elements
added when given plugin was loaded.
$1 - user/plugin (i.e. uspl2 format of plugin-spec)
$2 - if 1, then examine PATH, if 2, then examine FPATH
____
Has 16 line(s). Doesn't call other functions.
Called by:
.zinit-show-report
==== .zinit-format-functions
____
Creates a one or two columns text with functions created
by given plugin.
$1 - user/plugin (i.e. uspl2 format of plugin-spec)
____
Has 36 line(s). Doesn't call other functions.
Called by:
.zinit-show-report
==== .zinit-format-options
____
Creates one-column text about options that changed when
plugin "$1" was loaded.
$1 - user/plugin (i.e. uspl2 format of plugin-spec)
____
Has 21 line(s). Calls functions:
.zinit-format-options
|-- .zinit-restore-extendedglob
`-- .zinit-save-set-extendedglob
Called by:
.zinit-show-report
==== .zinit-format-parameter
____
Creates one column text that lists global parameters that
changed when the given plugin was loaded.
$1 - user/plugin (i.e. uspl2 format of plugin-spec)
____
Has 35 line(s). Doesn't call other functions.
Uses feature(s): _setopt_
Called by:
.zinit-show-report
==== .zinit-get-completion-owner
____
Returns "user---plugin" string (uspl1 format) of plugin that
owns given completion.
Both :A and readlink will be used, then readlink's output if
results differ. Readlink might not be available.
:A will read the link "twice" and give the final repository
directory, possibly without username in the uspl format;
readlink will read the link "once"
$1 - absolute path to completion file (in COMPLETIONS_DIR)
$2 - readlink command (":" or "readlink")
____
Has 22 line(s). Doesn't call other functions.
Uses feature(s): _setopt_
Called by:
.zinit-clear-completions
.zinit-get-completion-owner-uspl2col
.zinit-show-completions
==== .zinit-get-completion-owner-uspl2col
____
For shortening of code - returns colorized plugin name
that owns given completion.
$1 - absolute path to completion file (in COMPLETIONS_DIR)
$2 - readlink command (":" or "readlink")
____
Has 2 line(s). Calls functions:
.zinit-get-completion-owner-uspl2col
|-- .zinit-get-completion-owner
`-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
Called by:
.zinit-cdisable
.zinit-cenable
==== .zinit-get-path
____
Returns path of given ID-string, which may be a plugin-spec
(like "user/plugin" or "user" "plugin"), an absolute path
("%" "/home/..." and also "%SNIPPETS/..." etc.), or a plugin
nickname (i.e. id-as'' ice-mod), or a snippet nickname.
____
Has 8 line(s). Calls functions:
.zinit-get-path
`-- zinit.zsh/.zinit-get-object-path
Uses feature(s): _setopt_
Called by:
.zinit-cd
.zinit-uninstall-completions
==== .zinit-glance
____
Shows colorized source code of plugin. Is able to use pygmentize,
highlight, GNU source-highlight.
User-action entry point.
$1 - plugin spec (4 formats: user---plugin, user/plugin, user, plugin)
$2 - plugin (only when $1 - i.e. user - given)
____
Has 39 line(s). Calls functions:
.zinit-glance
|-- .zinit-pager
|-- zinit-side.zsh/.zinit-exists-physically-message
|-- zinit-side.zsh/.zinit-first
|-- zinit.zsh/+zi-log
`-- zinit.zsh/.zinit-any-to-user-plugin
Not called by script or any function (may be e.g. a hook, a Zle widget, etc.).
==== .zinit-help
____
Shows usage information.
User-action entry point.
____
Has 64 line(s). Doesn't call other functions.
Called by:
zinit.zsh/zinit
==== .zinit-list-bindkeys
Has 44 line(s). Calls functions:
.zinit-list-bindkeys
`-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
Called by:
zinit.zsh/zinit
==== .zinit-list-compdef-replay
____
Shows recorded compdefs (called by plugins loaded earlier).
Plugins often call `compdef' hoping for `compinit' being
already ran. Zinit solves this by recording compdefs.
User-action entry point.
____
Has 5 line(s). Doesn't call other functions.
Called by:
zinit.zsh/zinit
==== .zinit-list-plugins
____
Lists loaded plugins
____
Has 21 line(s). Calls functions:
.zinit-list-plugins
`-- zinit.zsh/+zi-log
Uses feature(s): _setopt_
Called by:
zinit.zsh/zinit
==== .zinit-list-snippets
Has 20 line(s). Doesn't call other functions.
Uses feature(s): _setopt_
Called by:
zinit.zsh/zinit
==== .zinit-module
____
Function that has sub-commands passed as long-options (with two dashes, --).
It's an attempt to plugin only this one function into `zinit' function
defined in zinit.zsh, to not make this file longer than it's needed.
____
Has 24 line(s). Calls functions:
.zinit-module
`-- .zinit-build-module
`-- zinit.zsh/+zi-log
Called by:
.zinit-build-module
zinit.zsh/Script-Body
zinit.zsh/zinit
==== .zinit-pager
____
BusyBox less lacks the -X and -i options, so it can use more
____
Has 24 line(s). Doesn't call other functions.
Uses feature(s): _setopt_
Called by:
.zinit-glance
.zinit-self-update
.zinit-update-or-status
==== .zinit-prepare-readlink
____
Prepares readlink command, used for establishing completion's owner.
$REPLY = ":" or "readlink"
____
Has 4 line(s). Doesn't call other functions.
Uses feature(s): _type_
Called by:
.zinit-cdisable
.zinit-cenable
.zinit-clear-completions
.zinit-show-completions
==== .zinit-prompt
____
Prompt user to confirm
$1 - prompt
$REPLY - 0 or 1
____
Has 4 line(s). Doesn't call other functions.
Uses feature(s): _read_
Called by:
.zinit-delete
==== .zinit-recall
Has 38 line(s). Calls functions:
.zinit-recall
|-- zinit-side.zsh/.zinit-compute-ice
`-- zinit.zsh/+zinit-deploy-message
Uses feature(s): _setopt_
Not called by script or any function (may be e.g. a hook, a Zle widget, etc.).
==== .zinit-recently
____
Shows plugins that obtained commits in specified past time.
User-action entry point.
$1 - time spec, e.g. "1 week"
____
Has 28 line(s). Calls functions:
.zinit-recently
`-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
Uses feature(s): _setopt_
Called by:
zinit.zsh/zinit
==== .zinit-restore-extendedglob
____
Restores extendedglob-option from state saved earlier.
____
Has 1 line(s). Doesn't call other functions.
Uses feature(s): _setopt_
Called by:
.zinit-format-options
.zinit-unload
==== .zinit-run-delete-hooks
Has 33 line(s). Calls functions:
.zinit-run-delete-hooks
`-- zinit.zsh/+zi-log
Uses feature(s): _eval_
Called by:
.zinit-delete
==== .zinit-save-set-extendedglob
____
Enables extendedglob-option first saving if it was already
enabled, for restoration of this state later.
____
Has 2 line(s). Doesn't call other functions.
Uses feature(s): _setopt_
Called by:
.zinit-format-options
.zinit-unload
==== .zinit-search-completions
____
While .zinit-show-completions() shows what completions are
installed, this functions searches through all plugin dirs
showing what's available in general (for installation).
User-action entry point.
____
Has 43 line(s). Calls functions:
.zinit-search-completions
`-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
Uses feature(s): _setopt_
Called by:
zinit.zsh/zinit
==== .zinit-self-update
____
Updates Zinit code (does a git pull)
____
Has 47 line(s). Calls functions:
.zinit-self-update
|-- .zi-check-for-git-changes
|   `-- zinit.zsh/+zi-log
|-- .zinit-pager
|-- zinit.zsh/+zi-log
`-- zinit.zsh/.zinit-get-mtime-into
Uses feature(s): _setopt_, _source_, _zcompile_
Called by:
.zinit-update-or-status-all
zinit.zsh/zinit
==== .zinit-show-all-reports
____
Displays reports of all loaded plugins.
User-action entry point.
____
Has 5 line(s). Calls functions:
.zinit-show-all-reports
`-- .zinit-show-report
|-- .zinit-check-which-completions-are-enabled
|-- .zinit-check-which-completions-are-installed
|-- .zinit-diff-env-compute
|-- .zinit-diff-functions-compute
|-- .zinit-diff-options-compute
|-- .zinit-diff-parameter-compute
|-- .zinit-exists-message
|   |-- .zinit-any-to-uspl2
|   |   `-- zinit.zsh/.zinit-any-to-user-plugin
|   `-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
|-- .zinit-find-completions-of-plugin
|   `-- zinit.zsh/.zinit-any-to-user-plugin
|-- .zinit-format-env
|-- .zinit-format-functions
|-- .zinit-format-options
|   |-- .zinit-restore-extendedglob
|   `-- .zinit-save-set-extendedglob
|-- .zinit-format-parameter
`-- zinit.zsh/.zinit-any-to-user-plugin
Called by:
zinit.zsh/zinit
==== .zinit-show-completions
____
Display installed (enabled and disabled), completions. Detect
stray and improper ones.
Completions live even when plugin isn't loaded - if they are
installed and enabled.
User-action entry point.
____
Has 72 line(s). Calls functions:
.zinit-show-completions
|-- .zinit-get-completion-owner
|-- .zinit-prepare-readlink
`-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
Uses feature(s): _setopt_
Called by:
zinit.zsh/zinit
==== .zinit-show-debug-report
____
Displays dtrace report (data recorded in interactive session).
User-action entry point.
____
Has 1 line(s). Calls functions:
.zinit-show-debug-report
`-- .zinit-show-report
|-- .zinit-check-which-completions-are-enabled
|-- .zinit-check-which-completions-are-installed
|-- .zinit-diff-env-compute
|-- .zinit-diff-functions-compute
|-- .zinit-diff-options-compute
|-- .zinit-diff-parameter-compute
|-- .zinit-exists-message
|   |-- .zinit-any-to-uspl2
|   |   `-- zinit.zsh/.zinit-any-to-user-plugin
|   `-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
|-- .zinit-find-completions-of-plugin
|   `-- zinit.zsh/.zinit-any-to-user-plugin
|-- .zinit-format-env
|-- .zinit-format-functions
|-- .zinit-format-options
|   |-- .zinit-restore-extendedglob
|   `-- .zinit-save-set-extendedglob
|-- .zinit-format-parameter
`-- zinit.zsh/.zinit-any-to-user-plugin
Not called by script or any function (may be e.g. a hook, a Zle widget, etc.).
==== .zinit-show-report
____
Displays report of the plugin given.
$1 - plugin spec (4 formats: user---plugin, user/plugin, user (+ plugin in $2), plugin)
$2 - plugin (only when $1 - i.e. user - given)
____
Has 71 line(s). Calls functions:
.zinit-show-report
|-- .zinit-check-which-completions-are-enabled
|-- .zinit-check-which-completions-are-installed
|-- .zinit-diff-env-compute
|-- .zinit-diff-functions-compute
|-- .zinit-diff-options-compute
|-- .zinit-diff-parameter-compute
|-- .zinit-exists-message
|   |-- .zinit-any-to-uspl2
|   |   `-- zinit.zsh/.zinit-any-to-user-plugin
|   `-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
|-- .zinit-find-completions-of-plugin
|   `-- zinit.zsh/.zinit-any-to-user-plugin
|-- .zinit-format-env
|-- .zinit-format-functions
|-- .zinit-format-options
|   |-- .zinit-restore-extendedglob
|   `-- .zinit-save-set-extendedglob
|-- .zinit-format-parameter
`-- zinit.zsh/.zinit-any-to-user-plugin
Uses feature(s): _setopt_
Called by:
.zinit-show-all-reports
.zinit-show-debug-report
zinit-additional.zsh/.zinit-debug-report
zinit.zsh/zinit
==== .zinit-show-times
____
Shows loading times of all loaded plugins.
User-action entry point.
____
Has 65 line(s). Calls functions:
.zinit-show-times
`-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
Uses feature(s): _setopt_
Called by:
zinit.zsh/zinit
==== .zinit-show-zstatus
____
Shows Zinit status, i.e. number of loaded plugins,
of available completions, etc.
User-action entry point.
____
Has 47 line(s). Calls functions:
.zinit-show-zstatus
`-- zinit.zsh/+zi-log
Uses feature(s): _setopt_
Called by:
zinit.zsh/zinit
==== .zinit-stress
____
Compiles plugin with various options on and off to see
how well the code is written. The options are:
NO_SHORT_LOOPS, IGNORE_BRACES, IGNORE_CLOSE_BRACES, SH_GLOB,
CSH_JUNKIE_QUOTES, NO_MULTI_FUNC_DEF.
User-action entry point.
$1 - plugin spec (4 formats: user---plugin, user/plugin, user, plugin)
$2 - plugin (only when $1 - i.e. user - given)
____
Has 38 line(s). Calls functions:
.zinit-stress
|-- zinit-side.zsh/.zinit-exists-physically-message
|-- zinit-side.zsh/.zinit-first
`-- zinit.zsh/.zinit-any-to-user-plugin
Uses feature(s): _setopt_, _zcompile_
Not called by script or any function (may be e.g. a hook, a Zle widget, etc.).
==== .zinit-uncompile-plugin
____
Uncompiles given plugin.
User-action entry point.
$1 - plugin spec (4 formats: user---plugin, user/plugin, user (+ plugin in $2), plugin)
$2 - plugin (only when $1 - i.e. user - given)
____
Has 29 line(s). Calls functions:
.zinit-uncompile-plugin
|-- zinit-side.zsh/.zinit-compute-ice
`-- zinit.zsh/+zi-log
Uses feature(s): _setopt_
Not called by script or any function (may be e.g. a hook, a Zle widget, etc.).
==== .zinit-uninstall-completions
____
Removes all completions of given plugin from Zshell (i.e. from FPATH).
The FPATH is typically `~/.zinit/completions/'.
$1 - plugin spec (4 formats: user---plugin, user/plugin, user, plugin)
$2 - plugin (only when $1 - i.e. user - given)
____
Has 46 line(s). Calls functions:
.zinit-uninstall-completions
|-- .zinit-get-path
|   `-- zinit.zsh/.zinit-get-object-path
|-- zinit-install.zsh/.zinit-compinit
|-- zinit-install.zsh/.zinit-forget-completion
`-- zinit.zsh/+zi-log
Uses feature(s): _setopt_, _source_
Called by:
zinit.zsh/zinit
==== .zinit-unload
____
1. call the zsh plugin's standard *_plugin_unload function
2. call the code provided by the zsh plugin's standard @zsh-plugin-run-at-update
3. delete bindkeys (...)
4. delete zstyles
5. restore options
6. remove aliases
7. restore zle state
8. unfunction functions (created by plugin)
9. clean-up fpath and path
10. delete created variables
11. forget the plugin
$1 - plugin spec (4 formats: user---plugin, user/plugin, user, plugin)
$2 - plugin (only when $1 - i.e. user - given)
____
Has 385 line(s). Calls functions:
.zinit-unload
|-- .zinit-clear-report-for
|   `-- .zinit-any-to-uspl2
|   `-- zinit.zsh/.zinit-any-to-user-plugin
|-- .zinit-diff-env-compute
|-- .zinit-diff-functions-compute
|-- .zinit-diff-options-compute
|-- .zinit-diff-parameter-compute
|-- .zinit-exists-message
|   |-- .zinit-any-to-uspl2
|   |   `-- zinit.zsh/.zinit-any-to-user-plugin
|   `-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
|-- .zinit-restore-extendedglob
|-- .zinit-save-set-extendedglob
|-- .zinit-unregister-plugin
|   `-- zinit.zsh/.zinit-any-to-user-plugin
|-- zinit-additional.zsh/.zinit-debug-clear
|-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
|-- zinit.zsh/+zi-log
`-- zinit.zsh/.zinit-any-to-user-plugin
Uses feature(s): _alias_, _bindkey_, _eval_, _setopt_, _unalias_, _unfunction_, _zle_, _zstyle_
Called by:
zinit-additional.zsh/.zinit-debug-revert
zinit.zsh/.zinit-run-task
zinit.zsh/zinit
==== .zinit-unregister-plugin
____
Removes the plugin from ZINIT_REGISTERED_PLUGINS array and from the
zsh_loaded_plugins array (managed according to the plugin standard)
____
Has 6 line(s). Calls functions:
.zinit-unregister-plugin
`-- zinit.zsh/.zinit-any-to-user-plugin
Called by:
.zinit-unload
==== .zinit-update-all-parallel
Has 84 line(s). Calls functions:
.zinit-update-all-parallel
|-- .zinit-update-or-status
|   |-- .zinit-pager
|   |-- .zinit-update-or-status-snippet
|   |   |-- zinit-install.zsh/.zinit-update-snippet
|   |   `-- zinit-side.zsh/.zinit-compute-ice
|   |-- zinit-install.zsh/.zinit-get-latest-gh-r-url-part
|   |-- zinit-install.zsh/.zinit-setup-plugin-dir
|   |-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
|   |-- zinit-side.zsh/.zinit-compute-ice
|   |-- zinit-side.zsh/.zinit-exists-physically
|   |-- zinit-side.zsh/.zinit-exists-physically-message
|   |-- zinit-side.zsh/.zinit-store-ices
|   |-- zinit-side.zsh/.zinit-two-paths
|   |-- zinit.zsh/+zi-log
|   |-- zinit.zsh/.zinit-any-to-user-plugin
|   `-- zinit.zsh/.zinit-set-m-func
|-- .zinit-update-or-status-snippet
|   |-- zinit-install.zsh/.zinit-update-snippet
|   `-- zinit-side.zsh/.zinit-compute-ice
|-- .zinit-wait-for-update-jobs
|   `-- zinit.zsh/+zi-log
|-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
|-- zinit.zsh/+zi-log
`-- zinit.zsh/.zinit-any-to-user-plugin
Uses feature(s): _setopt_
Called by:
.zinit-update-or-status-all
==== .zinit-update-or-status
____
Updates (git pull) or does `git status' for given plugin.
User-action entry point.
$1 - "status" for status, other for update
$2 - plugin spec (4 formats: user---plugin, user/plugin, user (+ plugin in $2), plugin)
$3 - plugin (only when $1 - i.e. user - given)
____
Has 326 line(s). Calls functions:
.zinit-update-or-status
|-- .zinit-pager
|-- .zinit-update-or-status-snippet
|   |-- zinit-install.zsh/.zinit-update-snippet
|   `-- zinit-side.zsh/.zinit-compute-ice
|-- zinit-install.zsh/.zinit-get-latest-gh-r-url-part
|-- zinit-install.zsh/.zinit-setup-plugin-dir
|-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
|-- zinit-side.zsh/.zinit-compute-ice
|-- zinit-side.zsh/.zinit-exists-physically
|-- zinit-side.zsh/.zinit-exists-physically-message
|-- zinit-side.zsh/.zinit-store-ices
|-- zinit-side.zsh/.zinit-two-paths
|-- zinit.zsh/+zi-log
|-- zinit.zsh/.zinit-any-to-user-plugin
`-- zinit.zsh/.zinit-set-m-func
Uses feature(s): _kill_, _read_, _setopt_, _source_, _trap_, _wait_
Called by:
.zinit-update-all-parallel
.zinit-update-or-status-all
zinit.zsh/zinit
==== .zinit-update-or-status-all
____
Updates (git pull) or does `git status` for all existing plugins.
This includes also plugins that are not loaded into Zsh (but exist
on disk). Also updates (i.e. redownloads) snippets.
User-action entry point.
____
Has 133 line(s). Calls functions:
.zinit-update-or-status-all
|-- .zinit-self-update
|   |-- .zi-check-for-git-changes
|   |   `-- zinit.zsh/+zi-log
|   |-- .zinit-pager
|   |-- zinit.zsh/+zi-log
|   `-- zinit.zsh/.zinit-get-mtime-into
|-- .zinit-update-all-parallel
|   |-- .zinit-update-or-status
|   |   |-- .zinit-pager
|   |   |-- .zinit-update-or-status-snippet
|   |   |   |-- zinit-install.zsh/.zinit-update-snippet
|   |   |   `-- zinit-side.zsh/.zinit-compute-ice
|   |   |-- zinit-install.zsh/.zinit-get-latest-gh-r-url-part
|   |   |-- zinit-install.zsh/.zinit-setup-plugin-dir
|   |   |-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
|   |   |-- zinit-side.zsh/.zinit-compute-ice
|   |   |-- zinit-side.zsh/.zinit-exists-physically
|   |   |-- zinit-side.zsh/.zinit-exists-physically-message
|   |   |-- zinit-side.zsh/.zinit-store-ices
|   |   |-- zinit-side.zsh/.zinit-two-paths
|   |   |-- zinit.zsh/+zi-log
|   |   |-- zinit.zsh/.zinit-any-to-user-plugin
|   |   `-- zinit.zsh/.zinit-set-m-func
|   |-- .zinit-update-or-status-snippet
|   |   |-- zinit-install.zsh/.zinit-update-snippet
|   |   `-- zinit-side.zsh/.zinit-compute-ice
|   |-- .zinit-wait-for-update-jobs
|   |   `-- zinit.zsh/+zi-log
|   |-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
|   |-- zinit.zsh/+zi-log
|   `-- zinit.zsh/.zinit-any-to-user-plugin
|-- .zinit-update-or-status
|   |-- .zinit-pager
|   |-- .zinit-update-or-status-snippet
|   |   |-- zinit-install.zsh/.zinit-update-snippet
|   |   `-- zinit-side.zsh/.zinit-compute-ice
|   |-- zinit-install.zsh/.zinit-get-latest-gh-r-url-part
|   |-- zinit-install.zsh/.zinit-setup-plugin-dir
|   |-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
|   |-- zinit-side.zsh/.zinit-compute-ice
|   |-- zinit-side.zsh/.zinit-exists-physically
|   |-- zinit-side.zsh/.zinit-exists-physically-message
|   |-- zinit-side.zsh/.zinit-store-ices
|   |-- zinit-side.zsh/.zinit-two-paths
|   |-- zinit.zsh/+zi-log
|   |-- zinit.zsh/.zinit-any-to-user-plugin
|   `-- zinit.zsh/.zinit-set-m-func
|-- .zinit-update-or-status-snippet
|   |-- zinit-install.zsh/.zinit-update-snippet
|   `-- zinit-side.zsh/.zinit-compute-ice
|-- zinit-install.zsh/.zinit-compinit
|-- zinit-side.zsh/.zinit-any-colorify-as-uspl2
|-- zinit.zsh/+zi-log
|-- zinit.zsh/.zinit-any-to-user-plugin
`-- zinit.zsh/.zinit-get-mtime-into
Uses feature(s): _setopt_, _source_
Called by:
zinit.zsh/zinit
==== .zinit-update-or-status-snippet
____
Implements update or status operation for snippet given by URL.
$1 - "status" or "update"
$2 - snippet URL
____
Has 34 line(s). Calls functions:
.zinit-update-or-status-snippet
|-- zinit-install.zsh/.zinit-update-snippet
`-- zinit-side.zsh/.zinit-compute-ice
Uses feature(s): _source_
Called by:
.zinit-update-all-parallel
.zinit-update-or-status-all
.zinit-update-or-status
==== .zinit-wait-for-update-jobs
Has 18 line(s). Calls functions:
.zinit-wait-for-update-jobs
`-- zinit.zsh/+zi-log
Uses feature(s): _wait_
Called by:
.zinit-update-all-parallel
==== zi::version
____
Shows usage information.
User-action entry point.
____
Has 2 line(s). Calls functions:
zi::version
`-- zinit.zsh/+zi-log
Called by:
zinit.zsh/zinit