Switched prezto theme from pure to cloud after pure was removed
Tadashi Shigeoka · Tue, January 17, 2023
I’ll introduce how I switched from the pure theme to cloud theme in the Zsh framework prezto after pure was removed.
The default prezto theme had changed
Old environment
$ 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
New environment
$ 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
Changed prezto theme to 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
Add the following to .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
That’s all about changing the Zsh framework prezto theme. That’s all from the Gemba.