メインコンテンツまでスキップ

🌀 Default Ice

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

デフォルトのiceの設定:

zi default-ice lucid from"gh-r"

これは GitHub リリース (gh-r) からダウンロードされ、デフォルトでは lucid ice も使用します。

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

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 ] - 現在設定されているデフォルトのiceを表示
[ -c ] - デフォルトのiceをリセット
[ -g ] - REPLAYハッシュに現在のiceを返す
[ -t ] - 統計情報を表示
[ -q ] - すべてのメッセージを隠す
[ -h ] - このメッセージを表示

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.