dotrepo
Version, currently 1.1.15 versions
- 1.2.0latestMar 15, 2022
- 1.1.1not indexedMar 16, 2022
- 1.1.0not indexedMar 16, 2022
- 1.0.0not indexedMar 16, 2022
- unstablenot indexedMar 16, 2022
github.com/ntumbuka/dotrepo
Tool for managing dofiles repositories
Nothing has been indexed for 1.1.1 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
dotrepo:
github: ntumbuka/dotrepo
version: ~> 1.1.1Then run:
shards installshard.yml
No shard.yml has been indexed for 1.1.1. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
dotrepo
This is a tool for managing a repository of a user's dotfiles. It organises a user's
dotfiles in a single directory and creates symbolic links to these dotfiles where
the dotfiles are normally located. For example ~/.config/nvim/init.vim
and ~/.config/fish/config.fish are replaced with symbolic links
to ~/.dotrepo/.config/nvim/init.vim and ~/.dotrepo/.config/fish/config.fish
respectively. A user can then check ~/.dotrepo into version control.
Building
The following are required to build the application:
Once you have the crystal compiler setup and have this repository cloned to your machine, run the following command at the root of the repository:
crystal spec
You should get an output that looks something like:
Finished in 3.7 milliseconds
12 examples, 0 failures, 0 errors, 0 pending
If you get no output then you are probably in the wrong directory but crystal is properly setup. Otherwise, ensure that no failures are reported. To build the application, run the following command in the same directory:
crystal build src/dotrepo.cr --release
This produces a dotrepo binary in the your current working directory. You should move
this binary to your binaries directory (eg ~/bin).
Usage
dotrepo help # Displays usage instructions
dotrepo ls # Lists all files in repository
dotrepo import [path] # Imports file at path into dotfile repository
dotrepo export # Exports everything in repository to user directory
dotrepo export [repository-path] # Exports specific file from repository to user directory
dotrepo path # Prints out path of the dotfiles repository
There are three primary commands that are provided: import, export, and ls. All these
commands operate on the dotfile repository. The default path for the dotfiles repository
is ~/.dotfiles, however this can be overriden through the environment variable
DOTFILES_REPOSITORY.
Contributing
- Fork it (https://github.com/your-github-user/dotfiles/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
You may want to adhere to this style guide. And please, with every feature try to include unit tests for the feature. For bugs fixes, it is also recommended that you include a unit test that replicates the bug if possible.
Contributors
- kwalter - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.1.1- Tagged
- Mar 16, 2022
- Commit
486bd8374e13- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/ntumbuka/dotrepo
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 5