-
Install WSL2 w/ updates
-
Get a Linux distro from Windows store
- OpenSUSE Leap 15.2
- Ubuntu 20.04
- Fix mount for permissions and resolv.conf
- automount config in wsl.conf
- The resolver didn't work for my local addresses, for some reason. So, manual local DNS. 🤷
- link a dev directory
- set up linked .ssh config
- install X410 (pay the $10)
- add DISPLAY var to .profile
export DISPLAY=$( awk '$1=="nameserver"{print $2}' /etc/resolv.conf ):0.0
export DISPLAY=$(ip r list default | awk '{print $3":0.0"; exit}')
- set system to use Windows fonts
- set up git prompt
- check out
- edit .bashrc
-
_GITPROMPT=$HOME/devel/bash-git-prompt/gitprompt.sh if [[ -f "$_GITPROMPT" && -r "$_GITPROMPT" ]] then GIT_PROMPT_ONLY_IN_REPO=1 source "$_GITPROMPT" fi unset _GITPROMPT