zi cd
Summary
Section titled “Summary”Change the current directory to a plugin’s local directory. Also supports snippets when given their URL.
Syntax / Usage
Section titled “Syntax / Usage”zi cd {plg-spec}zi cd {URL}Details
Section titled “Details”Resolves the plugin spec to its directory under $ZINIT[PLUGINS_DIR] (or the snippet cache path for URLs) and cds into it. This is a convenience shortcut for navigating directly to a managed plugin’s source without needing to know the full path. For _local plugins, the _local/ prefix is optional.
Examples
Section titled “Examples”# cd into a GitHub plugin directoryzi cd zsh-users/zsh-autosuggestions
# cd into a local plugin (both forms work)zi cd _local/my-helperszi cd my-helpersSee Also
Section titled “See Also”- cmd-edit
- cmd-create
- cmd-glance
- cmd-changes