A collection of config files that make my life on the commandline moderately bearable.
This follows the general idea described in Nicola Paolucci’s writeup on the subject of storing dotfiles. To install on a new system, follow these modified instructions:
- Clone dotfiles into a bare repo:
git clone --bare [email protected]:agarzola/dotfiles.git $HOME/.dotfiles
- Define the dotfiles alias in the current shell scope:
alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME
- Checkout the contents from the bare repo:
dotfiles checkout
- Turn off untracked files:
dotfiles config --local status.showUntrackedFiles no
Once all of the above is done, you can use dotfiles
as you would git
to
commit changes to the dotfiles repo and push them up to GitHub.