Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.35 KB

README.md

File metadata and controls

36 lines (29 loc) · 1.35 KB

dotfiles

Repository where I keep my personal dotfiles.

Notes

There is personal info in the .gitconfig file. If you clone or otherwise use these files, please take note of this and change the appropriate configs in this file!

Installation

Cloning

foo@bar:~$ git clone [email protected]:kordaniel/dotfiles.git

Setup

First of all you should enable the exec bit for the file tmc-autocomplete.sh with:

foo@bar:~$ chmod ug+x .tmc-autocomplete.sh

Manual setup

After cloning the repository you will have an directory called dotfiles containing all the dotfiles. Files in the subdirectory etc are to be used system wide (placed/linked inside /etc), but can usually be set to be user specific as well. Simply create an symbolic link for every dotfile you wish to use:

foo@bar:~$ cd dotfiles
foo@bar:~$ ln -sfnv .example_dotfile ~/.example_dotfile

Of course as always, remember to take backups before proceeding.

Automagic setup

Inside this repository is the file setup.sh. you can run this script with:

foo@bar:~$ cd dotfiles
foo@bar:~$ chmod u+x setup.sh
foo@bar:~$ ./setup.sh

It will create an symbolic link for every dotfile included in this repository into your ~. It will also create an backup for every dotfile, keeping the 2 newest backups in the directory specified in the script.