zi edit
Summary
Section titled “Summary”Open a plugin’s main file in $EDITOR. A quick way to inspect or patch a plugin’s source without navigating to its directory manually.
Syntax / Usage
Section titled “Syntax / Usage”zi edit {plg-spec}Details
Section titled “Details”Resolves the plugin’s directory, finds its main sourced file (following the same pick logic Zinit uses at load time), and opens it with the editor defined in the $EDITOR environment variable. If $EDITOR is unset, the behavior is system-dependent.
Examples
Section titled “Examples”# Edit zsh-autosuggestions main filezi edit zsh-users/zsh-autosuggestionsSee Also
Section titled “See Also”- cmd-cd
- cmd-glance
- cmd-create