WSL Ubuntu

	sudo apt-get update
	sudo apt-get install bash-completion  # auto-complete apt-get install packages
	# https://askubuntu.com/a/296347, sudo vi /etc/bash.bashrc, uncomment bash completion lines
	sudo apt-get install python3.7
	echo "alias python=python3.7" >> ~/.bashrc
	# re-login
	sudo apt-get install python3-pip
	echo "alias pip=pip3" >> ~/.bashrc
	# re-login
	pip install argcomplete
	# grrr
	echo "alias python=python3.6" >> ~/.bashrc
	# re-login now it works to do:
	#     python
	#     >> import argcomplete, argparse
      

Windows 10

Disable error beep sound

	# Windows command promopt (as Admin)
	net stop beep                   # turn it off
	sc config beep start= disabled  # keep it turned off

	# Uncomment and run to re-enable:
	# net start beep
	# sc config beep start= auto
      

Configure Emacs

	echo "SET HOME=C:\Users\korey" > /c/emacs/bin/runemacs.bat
	echo "cd %HOME%" >> /c/emacs/bin/runemacs.bat
	echo "C:\emacs\bin\runemacs.exe" >> /c/emacs/bin/runemacs.bat
	touch ~/.emacs.d/init.el
	# (change taskbar shortcut properties to have Target: C:\emacs\bin\runemacs.bat)
      

Vala Mode in Emacs

	# Git Bash prompt
	curl -L "https://wiki.gnome.org/Projects/Vala/Emacs?action=AttachFile&do=get&target=vala-mode.el" > ~/.emacs.d/vala-mode.el
	echo '(load-file "~/.emacs.d/vala-mode.el")' >> ~/.emacs.d/init.el
      

Go Mode in Emacs

	# Git Bash Shell
	curl -L "https://raw.githubusercontent.com/dominikh/go-mode.el/master/go-mode.el" > ~/.emacs.d/go-mode.el
	echo '(load-file "~/.emacs.d/go-mode.el")' >> ~/.emacs.d/init.el
      

Python

	# install latest python
	# https://www.python.org/downloads/ [Download Python 3.X.X]
	# Check Include Python 3.7.3 in path
	# Click to disable path length limit (at end of install)

	# install PyCharm
	# https://www.jetbrains.com/pycharm/ [Download Now], Community [Download]
	# no checked options
      

Pip packages (cmd prompt)

	# argcomplete
	pip install argcomplete
	python -m pip install --upgrade pip
      

Finish Argcomplete (Git Bash as Administrator)

	 curl -L https://raw.githubusercontent.com/kislyuk/argcomplete/master/argcomplete/bash_completion.d/python-argcomplete.sh > "/c/Program Files/Git/mingw64/share/git/completion/python-argcomplete.sh"

	 activate-global-python-argcomplete --dest="/c/Program Files/Git/mingw64/share/git/completion"
	 # Installing bash completion script C:/Program Files/Git/mingw64/share/git/completion\python-argcomplete.sh
	 # This didn't work, installing wsl ubuntu:
	 # PowerShell:
	 Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux # restart when prompted
      

Bats (in Git Bash)

	$ git clone https://github.com/bats-core/bats-core.git
	$ cd bats-core
	$ ./install.sh $HOME
	# emacs setup:
	curl -L "https://raw.githubusercontent.com/dougm/bats-mode/master/bats-mode.el" > ~/.emacs.d/bats-mode.el
	echo '(load-file "~/.emacs.d/bats-mode.el")' >> ~/.emacs.d/init.el
      

MSYS2 Shell

	# add python to path
	echo 'export SET PATH="$PATH:/c/Users/korey/AppData/Local/Programs/Python/Python37-32"' >> ~/.bash_profile