ZSH ;)
Windows terminal
Configurar tema omni
https://github.com/getomni/windows-terminal/blob/main/omni.json
Abrir windows terminal preview > configurações > Abrir o arquivos JSON
Colar snippet
- "schemes":
[
{
"name": "Omni",
"cursorColor": "#F8F8F2",
"selectionBackground": "#41414D",
"background": "#191622",
"foreground": "#E1E1E6",
"black": "#000000",
"blue": "#BD93F9",
"cyan": "#8D79BA",
"green": "#50FA7B",
"purple": "#FF79C6",
"red": "#FF5555",
"white": "#BFBFBF",
"yellow": "#EFFA78",
"brightBlack": "#4D4D4D",
"brightBlue": "#CAA9FA",
"brightCyan": "#AA91E3",
"brightGreen": "#5AF78E",
"brightPurple": "#FF92D0",
"brightRed": "#FF6E67",
"brightWhite": "#E6E6E6",
"brightYellow": "#EAF08D"
}
Configurar fonts
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/DroidSansMono.zip
Descompactar o arquivo
DroidSansMono.zip, selecionar todos e instalarAbrir windows terminal preview > configurações > Abrir o arquivos JSON
Adicionar
fontFaceem terminalconfigurações > Abrir o arquivos JSON
{
"guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
"hidden": false,
"name": "Ubuntu-20.04",
"source": "Windows.Terminal.Wsl",
"fontFace": "DroidSansMono Nerd Font"
},
Linux / WSL2
ZSH e oh-my-zsh
$ apt install -y zsh
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Tema powerlevel10k
$ git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
Definir tema em profile ~/.zshrc
.zshrc
ZSH_THEME="powerlevel10k/powerlevel10k"
Plugin's
$ git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
$ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
Ativar plugin's em profile ~/.zshrc
.zshrc
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
Configurar para root
$ sudo chsh -s /usr/bin/zsh root
$ sudo cp /home/usuario/.zshrc /root
$ sudo cp -r /home/usuario/.oh-my-zsh /root
$ sudo cp /home/usuario/.p10k.zsh .
Definir profile ~/.zshrc
.zshrc
export ZSH="/root/.oh-my-zsh"
Vim tema dracula
Instar tema
$ mkdir -p ~/.vim/pack/themes/start
$ cd ~/.vim/pack/themes/start
$ git clone https://github.com/dracula/vim.git dracula
Editar arquivo ~/.vimrc
.vimrc
packadd! dracula
syntax enable
colorscheme dracula