Skip to content

Instantly share code, notes, and snippets.

@RikoKami
Last active February 13, 2022 11:07
Show Gist options
  • Save RikoKami/45908c4aaaf4fa728e35de182dec84a7 to your computer and use it in GitHub Desktop.
Save RikoKami/45908c4aaaf4fa728e35de182dec84a7 to your computer and use it in GitHub Desktop.
Zsh config && plugins
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
@ss-o
Copy link

ss-o commented Feb 13, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment