Skip to content

spsjvc/dotfiles

Repository files navigation

dotfiles

Personal dotfiles for Linux and macOS. Config files live at paths mirroring their locations in the home directory and are symlinked into place.

Scripts

  • setup.sh — sets up everything
  • setup-symlinks.sh — creates symlinks (run this after adding a new dotfile)
  • setup-vscode-keybindings.sh — generates platform-specific VS Code keybindings.json from template
  • setup-zsh-plugins.sh — installs Oh My Zsh plugins

Symlinks

setup-symlinks.sh defines which files get symlinked, in three arrays:

  • dotfiles_common — same on both platforms
  • dotfiles_linux — only on Linux
  • dotfiles_macos — only on macOS

To add a new dotfile:

  1. Create the file in this repo at the same path it has in your home directory (e.g. .config/foo/config for ~/.config/foo/config)
  2. Add that path to the appropriate array in setup-symlinks.sh
  3. Run ./setup-symlinks.sh

About

Configure all the things

Resources

License

Stars

Watchers

Forks

Contributors