Skip to main content

๐ŸŒ€ Default Ice

An annex delivers the capability to set default ices for the next zi command, e.g:

set default-ices:

zi default-ice lucid from"gh-r"

this will download from GitHub releases (gh-r) and also use the lucid ice by default:

zi wait for \  sbin        junegunn/fzf-bin \  sbin"**/pk" peco/peco
caution

The wait ice cannot be made default by using this subcommand.

default-iceโ€‹

An annex provides a subcommand โ€“ default-ice which has the following synopsis:

โ€” default-ice [ -s | -c | -g | -t | -q | -h ] [ -s ] โ€” Show currently set default ices [ -c ] โ€” Reset default ices [ -g ] โ€” Return current ices in REPLAY hash [ -t ] โ€” Show statistics [ -q ] โ€” Hide all messages [ -h ] โ€” This message

Install default-iceโ€‹

Add the following snippet in the .zshrc file:

zi light z-shell/z-a-default-ice

This will register the default-ice subcommand.