/dotfiles

A junk repo for quick starting my Linux environment

Primary LanguageShell

Linux Quick Start Guide

  1. Install build prerequisites
sudo apt-get install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip curl doxygen
  1. Clone neovim repo
cd ~/ && git clone https://github.com/neovim/neovim
  1. Compile neovim
cd neovim && make CMAKE_BUILD_TYPE=RelWithDebInfo
  1. Install neovim
sudo make install
  1. Cleanup
cd ../ && rm -rf ./neovim
  1. Install Zsh
sudo apt install zsh nodejs -y && sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  1. Install NVM

  2. Reboot terminal

  3. Install additional packages:

cd ~/ && git clone https://github.com/codewithkyle/linux-quickstart.git && cd ./linux-quickstart
sudo apt update && sudo apt upgrade -y
sudo add-apt-repository ppa:deadsnakes/ppa && sudo apt update 
sudo apt install software-properties-common python3 python3-pip ripgrep -y
sudo chsh -s $(which zsh) 
  1. Install Go
wget https://go.dev/dl/go1.x.x.linux-amd64.tar.gz && sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.x.x.linux-amd64.tar.gz && rm ./go1.x.x.linux-amd64.tar.gz
  1. Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  1. Run this Command:
cp ./.zshrc ~/ && mkdir ~/.config/nvim && cp -r ./nvim/* ~/.config/nvim/ && cp ./gruvbox.zsh-theme ~/.oh-my-zsh/custom/themes/
  1. Reboot terminal

  2. nvm install --lts

  3. npm i -g neovim

  4. Install Packer

git clone --depth 1 https://github.com/wbthomason/packer.nvim\
 ~/.local/share/nvim/site/pack/packer/start/packer.nvim
  1. vi ~/.config/nvim/lua/config/packer.lua

  2. :so

  3. :PackerSync to install neovim packages

  4. :CheckHealth to check neovim's status

  5. :q

Windows Terminal Settings

  1. Open Settings -> Color Schemes

  2. Edit JSON file

  3. Add to schemes section:

{
    "background": "#282828",
    "black": "#0C0C0C",
    "blue": "#458588",
    "brightBlack": "#767676",
    "brightBlue": "#83A598",
    "brightCyan": "#8EC07C",
    "brightGreen": "#B8BB26",
    "brightPurple": "#D3869B",
    "brightRed": "#FB4934",
    "brightWhite": "#EBDBB2",
    "brightYellow": "#FABD2F",
    "cursorColor": "#FFFFFF",
    "cyan": "#689D6A",
    "foreground": "#EBDBB2",
    "green": "#98971A",
    "name": "gruvbox",
    "purple": "#B16286",
    "red": "#CC241D",
    "selectionBackground": "#FFFFFF",
    "white": "#A89984",
    "yellow": "#D79921"
}