To set this up on a new machine:
- Install bash and git.
- Run
curl -fsSL https://raw.githubusercontent.com/samsalisbury/home/master/setup | bash
- Start a new bash shell, and everything should be there.
To make changes:
Type home
to start a subshell with git configured to manage
the home directory. This uses
git-dotfiles
to create an isolated git environment that's only aware of files you explicitly
git add
to the repo. It also uses home.git
as its GIT_DIR
so when you're
not using this shell, other directories don't thing they're in some gigantic
repo (which they would if we used ~/.git
as the git dir).
~ sam$ home
# Home subshell started.
home.git> ~ sam$ git add README.md
home.git> ~ sam$ git commit -m "Update readme"
home.git> ~ sam$ git push
home.git> ~ sam$ exit
# Home subshell ended.
~ sam$