Managing dotfiles with GNU Stow
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