These dotfiles use the bare repo method described in this Atlassian blog
post. This has the advantage of not requiring symlinks for all the
files, everything is right where they belong. Git commands are accessed through
an function (dot
in my case) that specifies a different git dir.
To run the installer, paste the following command into a zsh terminal:
eval "$(curl -L https://philtr.dev/dotfiles.zsh)"
If dot::install::checkout
fails due to existing files, backup and remove the
conflicting files and run dot::install::checkout
again (or use
dot::install::checkout -f
)
- Set iTerm configuration to load config
- Open iTerm preferences
- Check "Load preferences from a user-defined folder or URL"
- Put in
$HOME/.config/iterm2
(replacing$HOME
with the full path of the home folder, e.g./Users/philtr
)
Keeping things committed is easy. Simply use the dot
command from the home
directory to add, commit, and pull changes.