Dotfiles for my WSL, Ubuntu.
-
Create a new SSH key following the instructions in generating a new SSH key and adding it to the ssh-agent.
ssh-keygen -t ed25519 -C "my-email@example.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
-
Clone this repository.
git clone git@github.com:lwschan/dotfiles.git $HOME/.dotfiles
-
Update
./dotfiles/git/.gitconfig
and./dotfiles/ssh/allowed_signers
with the new SSH key. -
Initialize the submodules for the repository.
git submodule update --init --recursive
-
Make git ignore executable file changes.
git config core.filemode false
-
Make all scripts executable.
chmod +x **/*.sh
-
Execute the
start.sh
script.. ./start.sh
-
Execute the
install.sh
script.. ./install.sh
-
Execute the
stow.sh
script.. ./stow.sh
- Change the starting directory to home
\\wsl$\Ubuntu\home\{linux_username}
- Change colour scheme to One Half Dark
- Change font face to Roboto Mono
If you encounter a cursor position misalignment, generate the locale again using the following commands.
sudo locale-gen "en_US.UTF-8"
sudo dpkg-reconfigure locales