Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 938 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 938 Bytes

Sam's dotfiles (home dir)

To set this up on a new machine:

  1. Install bash and git.
  2. Run curl -fsSL https://raw.githubusercontent.com/samsalisbury/home/master/setup | bash
  3. 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$