Skip to content

Instantly share code, notes, and snippets.

@rbento
Last active May 29, 2024 23:17
Show Gist options
  • Save rbento/2a29701d9850340f7387b10ebbd1b567 to your computer and use it in GitHub Desktop.
Save rbento/2a29701d9850340f7387b10ebbd1b567 to your computer and use it in GitHub Desktop.
My personal notes on WSL2

WSL2

Minimal Settings

export TERM="xterm-256color"
export PS1=" \w $ "
export GPG_TTY=$(tty)

alias l="ls -laHF"
alias c="clear"
alias ..="cd .."
alias python="python3"

alias a="git ls"
alias b="git branch -avv"
alias g="git status"
alias gg="git ls"
alias s="git status"

function reload() {
    source ~/.bashrc
}

Minimal Programs

sudo apt-get install curl gcc gdb gpg fzf git python3 python3-pip ripgrep universal-ctags vim

Prepare Vim Plug Install

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment