Manages dotfiles with git by setting the worktree to $HOME.
Inspiration taken from:
- https://www.ackama.com/what-we-think/the-best-way-to-store-your-dotfiles-a-bare-git-repository-explained/
- https://www.atlassian.com/git/tutorials/dotfiles
- git
- zsh
The following are automatically installed
git clone git@github.com:APengue1/dotfiles.git ~/.dotfiles
cd && .dotfiles/install.sh
config
is now an alias referencing your $HOME directory as the git working tree.
You can:
config add
config commit
config push
To update your $HOME directory with updated dotfiles upstream, run the install script again:
config pull
cd && .dotfiles/install.sh