Skip to content

Instantly share code, notes, and snippets.

@sinanm89
Last active March 9, 2022 18:49
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 sinanm89/79e0da448c052c7d8c8608d7ac6742cf to your computer and use it in GitHub Desktop.
Save sinanm89/79e0da448c052c7d8c8608d7ac6742cf to your computer and use it in GitHub Desktop.
wsl setup instructions
# Turn on developer mode in windows programs and features
# Install Ubuntu 20.04 from the Windows Store
# Install Windows Terminal from the Windows Store
$ sudo apt-get update
# https://github.com/pyenv/pyenv/wiki/common-build-problems
$ sudo apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
##### cosmetics #####
$ sudo apt-get install zsh
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# vvvv Actually useful cosmetics vvvv #
LS_COLORS="ow=01;36;40"
export LS_COLORS
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
##### cosmetics #####
# ==== Install Pyenv ==== #
$ curl https://pyenv.run | bash
$ pyenv update
$ pyenv install 3.8.3
# --------- ubuntu only -----------
# --- flameshot
# keyboard shortcut workaround
# https://github.com/flameshot-org/flameshot#keyboard-shortcuts
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot '[]'
# --- gitkraken
# --- copyq
# --- flameshot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment