aliases
Summary
Section titled “Summary”aliases loads a plugin with Zsh’s aliases mechanism enabled. It is required for
plugins that both define and use aliases within their own scripts.
Syntax / Usage
Section titled “Syntax / Usage”zi ice aliaseszi light user/plugin-using-own-aliasesDetails
Section titled “Details”By default, Zinit loads plugins with ALIASES option unset in certain contexts, which
means a plugin that defines an alias in line 1 and invokes it in line 2 may fail. The
aliases ice sets the option so aliases are expanded during plugin loading.
aliases is a flag ice — it takes no value. It is only needed for plugins that
actively depend on alias expansion during their own initialization.
Examples
Section titled “Examples”zi ice aliaseszi light user/plugin-that-defines-and-uses-aliasesSee Also
Section titled “See Also”- subst