Skip to content

killua525/dotfiles

Repository files navigation

My Dotfiles

Personal development environment configurations for macOS, Linux, WSL2, and Windows.

Features

  • 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.

Quick install

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)"

Manual install

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.sh

To update an existing checkout:

cd ~/.dotfiles 2>/dev/null || cd ~/dotfiles
./tools/update.sh
./tools/bootstrap.sh

Structure

  • ~/.dotfiles or ~/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.

Installer compatibility

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.

About

config for software

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors