https://github.com/zdharma-continuum/zinit-annex-default-ice
A Zsh-Zinit extension that allows to define ices active for multiple zinit commands
https://github.com/zdharma-continuum/zinit-annex-default-ice
zinit zinit-annex zsh
Last synced: about 1 month ago
JSON representation
A Zsh-Zinit extension that allows to define ices active for multiple zinit commands
- Host: GitHub
- URL: https://github.com/zdharma-continuum/zinit-annex-default-ice
- Owner: zdharma-continuum
- License: gpl-3.0
- Created: 2021-11-04T08:08:21.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-16T04:45:41.000Z (over 2 years ago)
- Last Synced: 2025-03-24T02:21:55.419Z (8 months ago)
- Topics: zinit, zinit-annex, zsh
- Language: Shell
- Homepage:
- Size: 32.2 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - zinit-annex-default-ice - Allows user to define ices active for multiple zinit commands. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - zinit-annex-default-ice - Allows user to define ices active for multiple zinit commands. (Plugins / ZSH on Windows)
README
# zinit-annex-default-ice
A [Zinit](https://github.com/zdharma-continuum/zinit) annex (i.e.: an extension module) that allows to set **default
ices** for the next `zinit` commands. It adds a new subcommand: **default-ice** which has the following synopsis:
```
—— default-ice --help/-h --clear/-c --show/-s --get/-g --quiet/-q --stats/-t
—— default-ice ice1'value1' ice2'value2' ⋯
Description:
--help/-h → this message
--show/-s → show the currently set default ices
--clear/-c → reset the default ices
--get/-g → return the current ices in Reply hash
--quiet/-q → hide all messages
--stats/-t → show some statistics
```
## Example Use
```zsh
zinit default-ice lucid from"gh-r"
# Will download from gh-r and also use the lucid ice by default.
zinit wait for
sbin junegunn/fzf-bin \
sbin"**/pk" peco/peco
```
Currently the `wait''` ice cannot be made default by using this new subcommand.