Skip to content

nvd-dev/Personal-Configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An General Purpose Portable Development Environment

MacOS

This guide is meant for setting up a development environment on windows using WSL2. While details guide on mac will come later, this repo is still a valid guideline since every components remain basically the same.

Windows 11

Install Microsoft WSL2 + Linux Distribution

quick start:

wsl --install

Windows Terminal

Settings

Go to settings, open JSON file, and replace with this settings.json

Setting up developement environment via Terminal

Quick Start:

git clone https://github.com/nvd-dev/Personal-Configuration ~/GitHub/Personal-Configuration

  1. Install ZSH
  2. Ubuntu:

    sudo apt install zsh
    
    sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    

    Plug-ins

    • zsh-autosuggestions
    • git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
      
    • zsh-syntax-highlighting
    • git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
      
    • zsh-z
    • git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z
      
    • zsh-nvm (optional)
    • Install nvm as a zsh plugin. Install zsh-nvm and run nvm upgrade to upgrade.

      git clone https://github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm
      
    • git-open (optional)
    • https://github.com/paulirish/git-open
      
    git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
    

    For best features please consider using:

    VictorMono Nerd Font
    

  3. Install lsd
  4. Download the latest .deb package from the release page or via CLI:

    curl -LO https://github.com/Peltoche/lsd/releases/download/0.21.0/lsd_0.21.0_amd64.deb
    

    And install it (adapt version number and architecture) via:

    sudo dpkg -i lsd_0.21.0_amd64.deb 
    

  5. Install Zoxide (optional)
  6. apt install zoxide
    

  7. Customize / clone .zshrc from this GitHub repo

Neovim

Ubuntu

On Ubuntu 18.04 and above:

Sudo apt install neovim

Universal (for any other linux distros)

  • (if true) Remove the current version of NeoVim
  • sudo apt-remove neovim
    
  • Download the latest `nvim.appimage` from [ GitHub repo ](https://github.com/neovim/neovim):
  • curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
    
  • Make it executable for your user
  • chmod u+x ./nvim.appimage
    
  • Move it to a folder that's indexed in your PATH env var so your computer knows what you mean when you type `nvim`.
  • - You can check the folders in your current path by typing `echo $PATH` which will show you something like this: /usr/local/bin:/usr/bin... 
    
  • To move it there you'll need to use sudo:
  • sudo mv nvim.appimage /usr/local/bin/nvim
    
  • When you type `nvim` it should work, bonus:
    • Add this to ~/.zshrc etc to create an alias in case you accidentally type vi (I always type it by mistake):

        alias vi=nvim
      
    • Also in your bashrc/zshrc etc set your EDITOR env var so various programs know what editor you prefer to use:

        EDITOR=/usr/local/bin/nvim
      
  • To update, download the latest `nvim.appimage` and `mv` it to `/nvim`

Configure Neovim

(to be added)

Extras

VScode settings

you can set theme for intergrated terminal e.g This set Matrix-01 theme to Vscode terminal:

Matrix-01
"workbench.colorCustomizations": {
        "terminal.foreground": "#ddc49a",
        "terminal.background": "#191e28",
        "terminal.ansiBlack": "#ddc49a",
        "terminal.ansiBrightBlack": "#808076",
        "terminal.ansiBlue": "#314f6f",
        "terminal.ansiBrightBlue": "#376b8c",
        "terminal.ansiCyan": "#0f4c64",
        "terminal.ansiBrightCyan": "#058b8c",
        "terminal.ansiGreen": "#61993b",
        "terminal.ansiBrightGreen": "#00b52a",
        "terminal.ansiMagenta": "#651e38",
        "terminal.ansiBrightMagenta": "#8d3c4b",
        "terminal.ansiRed": "#ab273c",
        "terminal.ansiBrightRed": "#bb1e10",
        "terminal.ansiWhite": "#f1ece1",
        "terminal.ansiBrightWhite": "#ecece7",
        "terminal.ansiYellow": "#908370",
        "terminal.ansiBrightYellow": "#e6d2b5"
}

Essential programs:

  1. VS Code
  2. IDM
  3. WinRAR
  4. PicoTorrent
  5. KMPlayer
  6. Tor
  7. Via

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published