Dot Manager is a simple tool to manage dotfiles. It allows you to easily add, remove, and update dotfiles in your home directory by syncing them with a git repository.
To install Dot Manager, clone the repository and run the install script:
go install github.com/jacobbrewer1/dotmanager@latest
To add a dotfile to the repository, use the add
command:
dotmanager add
This will then direct you to select the file you would like to add through a TUI.
To stop tracking a dotfile, simply delete it from the repository.
To pull the latest changes from you local machine into the repository, use the pull
command:
dotmanager pull
This will then update all the tracked files in the repository with the latest changes from your local machine.
To push the latest changes from the repository to your local machine, use the push
command:
dotmanager push
This will then update all the tracked files in your local machine with the latest changes from the repository.
To check the version of Dot Manager, use the version
command:
dotmanager version