Last active
February 13, 2022 11:07
-
-
Save RikoKami/45908c4aaaf4fa728e35de182dec84a7 to your computer and use it in GitHub Desktop.
Zsh config && plugins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install zsh | |
zsh --version | |
curl --version | |
sudo apt install curl | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# selecione um tema legal aqui: https://github.com/ohmyzsh/ohmyzsh/wiki/Themes | |
nano .zshrc | |
# trocar o ZSH_THEME="nomedotemaescolhido" salva, fecha e reinicia | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)" | |
#or | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/z-shell/zinit/main/doc/install.sh)" | |
sudo nano .zshrc | |
# verifica se foi inserido o zinit para os plugins no final do arquivo | |
# inserir plugins após "### End of Zinit's installer chunk" | |
zinit light zdharma/fast-syntax-highlighting # or zdharma-continuum/fast-syntax-highlighting | |
zinit light zsh-users/zsh-autosuggestions | |
zinit light zsh-users/zsh-completions | |
# fecha e abre novamente o terminal pra instalar todos os plugins ✨ | |
CTRL + O = salva | |
ENTER = confirma | |
CTRL + X = sai |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Caso comando de npm/node/nvm não for encontrado, adicionar no
.zshrc
: