Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 705 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 705 Bytes

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