Shared configs live at the root. linux/, wsl/ and macos/ hold what only applies there.
git clone https://github.com/lenkan/.dotfiles ~/.dotfiles
~/.dotfiles/linux/bootstrap.sh # or macos/bootstrap.sh, wsl/bootstrap.shCreate the distro first. The password can be anything (bootstrap removes it).
wsl --install Ubuntu-24.04 --name <distroname>
wsl --install FedoraLinux-44 --name <distroname>Inside it, install git before running the steps above:
sudo dnf install -y git # Fedora
sudo apt-get update && sudo apt-get install -y git # UbuntuThen restart the distro:
wsl --terminate <distroname>These optional files live outside the repo and override the shared config:
~/.gitconfig.local, e.g. a work[user]~/.bashrc.local, for interactive shells only~/.nvim.local.lua, runs after plugins are set up
Needs Neovim 0.12+, ripgrep, fzf, gcc, tree-sitter-cli and Node 22+ (Copilot).
Plugins and language servers install on first start; run :LspCopilotSignIn once.
For GitHub Enterprise (ghe.com), add this to ~/.nvim.local.lua before signing in:
vim.lsp.config('copilot', {
settings = { ['github-enterprise'] = { uri = 'https://YOUR-ORG.ghe.com' } },
})scripts/sync.sh— re-link dotfilesscripts/lint.sh— shellcheck + shfmt