sudo apt-get install zshsh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionsplugins=(
# other plugins...
zsh-autosuggestions
)git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlightingplugins=(
# other plugins...
zsh-syntax-highlighting
)git clone https://github.com/dracula/gnome-terminal
cd gnome-terminal
./install.shsudo apt install fonts-firacode- Verique se você tem as seguintes fonts no sistema (~/.fonts):
--- Meslo LG M Regular Nerd Font Complete.ttf
--- MesloLGS NF Bold.ttf
--- MesloLGS NF Bold Italic.ttf
--- MesloLGS NF Italic.ttf
--- MesloLGS NF Regular.ttf
Se não tiver faça o download nesses link: https://github.com/romkatv/powerlevel10k-media/
Ou nesses links separados:
- MesloLGS NF Regular.ttf - https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf
- MesloLGS NF Bold.ttf - https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf
- MesloLGS NF Italic.ttf - https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf
- MesloLGS NF Bold Italic.ttf - https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf
Prefira os links os separados!
Feche o terminal e abra de novo para recarregar as fonts corretamente!
Link: https://github.com/romkatv/powerlevel10k#installation
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10kZSH_THEME="powerlevel10k/powerlevel10k"
E depois saia, feche o terminal e abra de novo (deve aparecer as perguntas abaixo, caso constrário) execute o comando no terminal
p10k configure9.2.4. Verificar se uma lista de icones separadas por X se sobrepoem sobre os X ou não, se for marque como Sim (y - Yes)
10. Possivelmente os icons não devem aparecer no VS Code, ou estão estranhos, sem funcionar, faça o seguinte:
- Abra as configurações e pesquise por "Terminal" > "Integrated: Font Family"
- E coloque a font "MesloLGS NF" no campo.
Opa, obrigado pelo "script" rs. Rodei tudo no Ubuntu 24.04 e está funcionando plenamente. Só não instalei o tema, de resto tá tudo redondo.