prezto theme の pure が無くなったので cloud へ変更した

Zsh フレームワーク prezto theme の pure が無くなったので cloud に変更した話をご紹介します。

Prezto is the configuration framework for Zsh

prezto theme のデフォルトが変わっていた

旧環境

$ prompt -l
Currently available prompt themes:
agnoster cloud damoekri giddie kylewest minimal nicoulaj paradox peepcode powerlevel10k powerline pure skwp smiley sorin steeef adam1 adam2 bart bigfade clint default elite2 elite fade fire off oliver pws redhat restore suse walters zefram

新環境

$ prompt -l                                                                                                                                                                                                     Currently available prompt themes:
cloud damoekri giddie kylewest minimal nicoulaj paradox peepcode skwp smiley sorin steeef adam1 adam2 bart bigfade clint default elite2 elite fade fire off oliver pws redhat restore suse walters zefram

prezto theme を cloud へ変更

$ prompt -s cloud
Set and save not yet implemented.  Please ensure your ~/.zshrc
contains something similar to the following:

  autoload -Uz promptinit
  promptinit
  prompt cloud

.zshrc へ以下を追記

# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
  source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
## Prezto
autoload -Uz promptinit
promptinit
prompt cloud

以上、Zsh フレームワーク prezto のテーマを変更した、現場からお送りしました。