initial dotfiles

This commit is contained in:
Mats Ricardo Nomedal 2026-04-23 23:48:01 +02:00
commit a11473e308
20 changed files with 2831 additions and 0 deletions

22
CONTEXT.md Normal file
View file

@ -0,0 +1,22 @@
# Dotfiles Setup
Managing configs for WezTerm, Neovim, Zsh (oh-my-zsh + p10k) in a single Git repo with symlinks.
Cross-platform: EndeavourOS (primary desktop) and Windows.
## Approach
- Single repo, symlinks to expected config locations
- OS detection handled in config files themselves (no chezmoi or similar tools)
- WezTerm: `wezterm.target_triple` for OS branching in Lua
- Neovim: `vim.loop.os_uname()` for OS branching in Lua
## Bootstrap
- Linux: `bootstrap.sh` creates symlinks
- Windows: `bootstrap.ps1` creates symlinks (requires admin for SymbolicLink)
## Structure
dotfiles/
├── wezterm/wezterm.lua
├── nvim/
├── zsh/.zshrc
├── bootstrap.sh
└── bootstrap.ps1