Skip to content

Instantly share code, notes, and snippets.

@rostrovsky
Last active September 2, 2023 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rostrovsky/c11089186cf7e32c4c802c95e37c10fc to your computer and use it in GitHub Desktop.
Save rostrovsky/c11089186cf7e32c4c802c95e37c10fc to your computer and use it in GitHub Desktop.
Basic setup of zsh + nvim on Ubuntu 22.04 WSL2
sudo apt install zsh
chsh -s $(which zsh)
exit

Log on again

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sudo add-apt-repository universe
sudo apt install libfuse2
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
sudo mv nvim.appimage /usr/bin/nvim
sudo apt install make
sudo apt-get install --reinstall build-essential
git clone https://github.com/LazyVim/starter ~/.config/nvim
echo 'alias vim="nvim"' >> ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment