Managing dotfiles with GNU Stow

Abdun Nihaal
https://nihaal.me
09 January 2021 at ILUGC
Creative Commons License

Dotfiles

  • Configurations for editors, tools, etc
  • Plain text files
  • Usually present in home directory

Why manage dotfiles?

  • Have the same configurations across all computers
  • Use Version control to keep dotfiles in sync
  • Share and try other's configurations

Ways to manage dotfiles

  • Copy dotfiles into a git repository
  • Using script to copy or link
  • Stow - organized and easy way

GNU Stow

  • "Symlink farm manager"
  • Creates symlinks at different locations that point to files in a directory
  • Widely used to manage dotfiles