Getting Started With Dotfiles
It’s a new year, and I thought I learn something new to increase productivity.
I stumbled upon Dotfiles when watching a Google I/O 2012 video (awesome video on web tools btw).
Dotfiles are hidden files, such as
.aliases, which you edited to suit your workflow for your Mac.
Because everyone has their own ‘dotfiles’, it makes sense to share.
Hence some of the best Dotfiles are on GitHub.
I recommend starting with Mathias version, which is a de facto for Mac OS X.
Backup your current dotfiles. For example, I already have
.gitconfig, so I copy them to
Fork Mathias Dotfiles, then
git cloneyour fork instead. Highly recommended to fork because you will most likely make some changes.
Read through the dotfiles. Example read
.bash_profile, edit, and also merge from your
In the cloned repos,
Read through and edit
.osx, then run
Here’s my very own version which deactivated some stuff that I don’t need, and modified for my needs.