This repo uses stow to manage the symlinks for my configuration files.
Basically, I have a ~/dotfiles directory where all the config files live. When tools and shells (like nvim or bash) look for their configs and scripts in the usual places (e.g., ~/.config/nvim or ~/.local/bin), they find a symbolic link that points to this folder. This makes managing configurations, sharing them across machines, and version control much easier.
For more information about how each configuration works, refer to the documentation folder.
Just install stow (e.g., sudo apt install stow) and clone this repository to your home directory:
git clone https://github.com/FrancescoDerme/dotfiles.git ~/dotfilesI use a Makefile to simplify the stow commands. For example:
make # Installs every config
make nvim # Installs the nvim config
make delete-nvim # Deletes the nvim configIf you prefer running stow manually:
cd ~/dotfiles
stow --restow nvim