Skip to content

A KISS bash-script to install dotfiles under version control.

License

Notifications You must be signed in to change notification settings

stevefan/dotfiles

Repository files navigation

dotfiles

To deploy your dot files on a new machine run:

git clone https://github.com/your_username/dotfiles.git && source ./dotfiles/install-dotfiles.sh

Installation creates symlinks in $HOME to all files in the dotfiles folder except those those listed in excluded_files.txt.

If a dotfile exists prior to the script execuiting, the script will mv it to the old_dotfiles.d directory, the contents of which are gitignored.


To organize dotfiles in folders, create a folder, add the folder name to excluded_files.txt, and create symlinks targeting ./dotfile/targeted-dotfiles.

mkdir DOTFILE_ORGFOLDER && echo "$_" >> excluded_files.txt && cd "$_" 
ln -s ../TARGET_DOTFILE

About

A KISS bash-script to install dotfiles under version control.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published