Personal dotfiles.
dotfiles/
├── nvim/
│ └── init.lua # -> ~/AppData/Local/nvim/init.lua (Windows/Git Bash)
│ # /mnt/c/Users/.../AppData/... (WSL)
│ # ~/.config/nvim/init.lua (Linux/macOS)
├── tmux/
│ └── .tmux.conf # -> ~/.tmux.conf
├── setup.sh
└── README.md
git clone https://github.com/<you>/dotfiles.git ~/dotfiles
cd ~/dotfiles
chmod +x setup.sh
./setup.shThe script will:
- Auto-detect OS (Git Bash, WSL, Linux, macOS)
- Back up any existing config as
.bakbefore linking - Create symlinks to all the right locations
- Move the file into the repo:
mv ~/.someconfig ~/dotfiles/tool/.someconfig
- Add the entry in
setup.shunderdeclare -A CONFIGS:["tool/.someconfig"]="$HOME/.someconfig"
- Re-run
./setup.sh