sudo apt install zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
bash -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"
sudo git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
sudo ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
Editar o arquivo .zshrc
e adicionar a linha abaixo dentro da execução do zinit
zinit ice depth=1; zinit light romkatv/powerlevel10k
Digite no terminal:
p10k configure
Caso os ícones não apareçam durante a instalação, instale as fonte MesloGLS, disponível em https://github.com/romkatv/powerlevel10k/blob/master/font.md
Sete a fonte no MesloGLS NF no terminal:
https://gist.github.com/juniormartinxo/0651335e890a2549059c6c500a006fb1
Referências:
https://www.aluiziodeveloper.com.br/instalando-o-zsh-e-oh-my-zsh-no-wsl-ubuntu/
https://dev.to/erickrock80/pt-br-instalando-oh-my-zsh-no-windows-terminal-3a8l