Skip to content

Dotfiles for my WSL2

Notifications You must be signed in to change notification settings

lwschan/dotfiles

Repository files navigation

dotfiles

Dotfiles for my WSL, Ubuntu.

Instructions

  1. 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
  2. Clone this repository.

    git clone git@github.com:lwschan/dotfiles.git $HOME/.dotfiles
  3. Update ./dotfiles/git/.gitconfig and ./dotfiles/ssh/allowed_signers with the new SSH key.

  4. Initialize the submodules for the repository.

    git submodule update --init --recursive
  5. Make git ignore executable file changes.

    git config core.filemode false
  6. Make all scripts executable.

    chmod +x **/*.sh
  7. Execute the start.sh script.

    . ./start.sh
  8. Execute the install.sh script.

    . ./install.sh
  9. Execute the stow.sh script.

    . ./stow.sh

Windows Terminal changes:

  1. Change the starting directory to home \\wsl$\Ubuntu\home\{linux_username}
  2. Change colour scheme to One Half Dark
  3. Change font face to Roboto Mono

Cursor Misalignment

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

About

Dotfiles for my WSL2

Resources

Stars

Watchers

Forks

Languages