#Dotfiles
This repo is used to save and sync my dotfiles between differents machines. When cloning and executing the scripts for the first time, the current dotfiles are saved and remplaced by symlinks to the ones in the repo.
The instructions belows are a reminder on how to use the scripts.
On a new system clone the repo under ~/.dotfiles
git clone https://github.com:statox/dotfiles ~/.dotfiles
It is possible to add to $PATH the path to the scripts.
export PATH=$PATH:path/to/.dotfiles/scripts
In ./scripts/files_list
Select the files you want to simlink and keep under this repo. Not wanted files can be commented with "#"
Execute the script
./scripts/set-dotfiles.sh
The dotfiles in your home directory are now symlinked to the files in ~/.dotfiles! Originals dotfiles aren't deleted they are copied under ~/.dotfiles/saved-dotfiles