🧊 Ice Modifiers
FAQ: What is ice?
The ice is something that melts in a drink, though in Zi syntax, it means adding an ice-modifier that's temporary because it disappears – which means that the ice-modifier will last only for the next Zi command.
An ice-modifiers are passed to zi ice …
to obtain described effects, additionally can be added with annexes. To see all available ice-modifiers run zi icemods
.
Some ice-modifiers are highlighted and clicking on them will take you to the appropriate Wiki page for an extended explanation. You may safely assume that given ice works with both plugins and snippets unless explicitly stated otherwise.
Ice effects
Ice-modifier | Description |
---|---|
as | Can be as"program" (alias: as"command" ), and will cause to add script/program to $PATH instead of sourcing (see pick ). Can also be as"completion" – use with plugins or snippets in whose only underscore-starting _* files you are interested in. 1 |
id-as | Nickname a plugin or snippet, e.g. create a short handler for the long-URL snippet. |
teleid | Effective remote-ID (i.e.: URL, GitHub username/repo, package name, etc.). |
compile | Pattern (possible {…} expansion, like {a/*,b*} ) to select additional files to compile, e.g. compile"(pure | async).zsh" forsindresorhus/pure . |
nocompile | Don't try to compile pick -pointed files. If passed the exclamation mark (i.e. nocompile'!' ), then do compile, but after make' |