multisrc
Summary
Section titled “Summary”multisrc'' sources multiple files from a plugin or snippet directory in a single
declaration, supporting both space-separated lists and brace-expansion syntax.
Syntax / Usage
Section titled “Syntax / Usage”zi ice multisrc"file1.zsh file2.zsh"zi ice multisrc"{misc,grep}.zsh"zi ice multisrc"*.zsh" # patterns are supportedDetails
Section titled “Details”Files are sourced in the order specified. Brace expansion is performed, and glob patterns are accepted.
multisrc'' runs after src'' in the load order: pick → src → multisrc →
atload.
Works with both plugins and snippets.
Examples
Section titled “Examples”# Source two specific files from a utility pluginzi ice multisrc"misc.zsh grep.zsh"zi light user/zsh-utils
# Source all .zsh files with brace expansionzi ice multisrc"{aliases,functions,completions}.zsh"zi light user/zsh-configSee Also
Section titled “See Also”- src
- pick