Instale o ZSH com adição de personalização PowerLevel10k
# READ MORE: https://github.com/romkatv/powerlevel10k#meslo-nerd-font-patched-for-powerlevel10k
1. Download these four ttf files:
https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf (MesloLGS NF Regular.ttf)
https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf (MesloLGS NF Bold.ttf)
https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf (MesloLGS NF Italic.ttf)
https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf (MesloLGS NF Bold Italic.ttf)
2. Double-click on each file and click "Install". This will make MesloLGS NF font available to all applications on your system.
3. Configure your terminal to use this font:
#GNOME Terminal (the default Ubuntu terminal):
Open Terminal → Preferences and click on the selected profile under Profiles.
Check Custom font under Text Appearance
and select MesloLGS NF Regular.
#Visual Studio Code:
Open File → Preferences → Settings (PC)
or Code → Preferences → Settings (Mac),
enter terminal.integrated.fontFamily in the search box at the top of Settings tab
and set the value below to MesloLGS NF.
Consult this screenshot to see how it should look like or see this issue for extra information.
#Windows Console Host (the old thing):
Click the icon in the top left corner, then Properties → Font
and set Font to MesloLGS NF.
Windows Terminal by Microsoft (the new thing): Open settings.json (Ctrl+Shift+,),
search for fontFace and set the value to MesloLGS NF for every profile.
If you don\'t find fontFace, add it under profiles → defaults. See this settings file for example.
4.0 run the following
apk add git zsh nano vim
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
echo "source ~/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc
cd ~/powerlevel10k
exec zsh
4.1 Run "p10k configure" to generate a new ~/.p10k.zsh.
The old config may work incorrectly with the new font.
OR
#Try Powerlevel10k in Docker. You can safely make any changes to the file system while trying out the theme. Once you exit Zsh, the image is deleted.
Tip: Install the recommended font before running the Docker command to get access to all prompt styles.
Tip: Run p10k configure while in Docker to try a different prompt style
docker run -e TERM -e COLORTERM -e LC_ALL=C.UTF-8 -it --rm alpine sh -uec '
apk add git zsh nano vim
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
echo "source ~/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc
cd ~/powerlevel10k
exec zsh'
DreamCoder