My dotfiles
Random GitHub
Discover some random corner of GitHub you probably had no reason to ever find.
README
You can clone the repository wherever you want. (I like to keep it in ~/Projects/dotfiles, with ~/dotfiles as a symlink.) The bootstrapper script will pull in the latest version and copy the files to your home folder.
git clone https://github.com/tancnle/dotfiles.git && cd dotfiles && ./bootstrap.sh
To update, cd into your local dotfiles repository and then:
./bootstrap.sh
Alternatively, to update while avoiding the confirmation prompt:
./bootstrap.sh -f
If ~/.path exists, it will be sourced along with the other files, before any feature testing (such as detecting which version of ls is being used) takes place.
Here’s an example ~/.path file that adds ~/utils to the $PATH:
export PATH="$HOME/utils:$PATH"
When setting up a new Mac, you may want to set some sensible OS X defaults:
./.osx
When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):
./.brew
Use your own GitHub token
Optional. A fine-grained GitHub personal access token lets Random GitHub use your own API allowance instead of the site's shared allowance.
The token only needs Public repositories access with no additional repository or user permissions. It is kept only in the server-side session and is not persisted permanently.