Switched prezto theme from pure to cloud after pure was removed
I’ll introduce how I switched from the pure theme to cloud theme in the Zsh framework prezto after pure was removed.
$ 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
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
That’s all about changing the Zsh framework prezto theme. That’s all from the Gemba.