my dotfiles for unix.
this repository allows you to keep a version control over your dotfiles like .bashrc
. first it backs up and removes any dotfiles from ~
that are also in this repo. then it creates symbolic links in ~
that point to the dotfiles in this repo.
clone this repo in ~
cd ~
git clone git@github.com:mrdandelion6/dotfiles.git
backup current dot files
chmod u+x dotfiles/backup_dotfiles.sh
./dotfiles/backup_dotfiles.sh
override current dot files with symbolic link
chmod u+x dotfiles/override_dotfiles.sh
./dotfiles/override_dotfiles.sh
optional: if you want to restore everything from ~/backup_dotfiles/
:
mv ~/backup_dotfiles/* ~/dotfiles/*