Personal development environment configurations for macOS, Linux, WSL2, and Windows.
- Cross-platform setup for macOS, Linux, WSL2, and Windows.
- Vim, Neovim, MacVim, and gVim runtime configuration and plugins.
- Git, tig, and tmux configuration.
- Selected XDG config files, including
kube-ps1.
The top-level install.sh detects the platform and delegates to the matching
setup script.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/killua525/dotfiles/master/install.sh)"The current macOS/Linux/WSL2 installer links files from this repository into
your home directory and backs up existing targets as .bakN before replacing
them.
git clone https://github.com/killua525/dotfiles.git ~/dotfiles
cd ~/dotfiles
./tools/bootstrap.shTo update an existing checkout:
cd ~/.dotfiles 2>/dev/null || cd ~/dotfiles
./tools/update.sh
./tools/bootstrap.sh~/.dotfilesor~/dotfiles: the repository checkout.install.sh: platform dispatcher for macOS, Linux, WSL2, and Windows Git Bash.tools/: installation and update scripts.tools/windows/: Windows Vim/gVim entry files and PowerShell setup script.config/: XDG configuration files linked into~/.config.config/nvim/init.vim: Neovim entry point that reuses the shared Vim config..vim/: Vim runtime configuration..vimrc/.gvimrc: terminal Vim and GUI Vim entry points.
See CROSS_PLATFORM.md for full setup details.
The top-level bootstrap.sh is a compatibility wrapper for
tools/bootstrap.sh. Both install paths create links instead of copying config
files into $HOME.