A simple dotfiles manager. Uses symlinks and a git repo.
Project description
Tod
Central management of your personal configs using a git repository and symlinks.
Installation
Install the client:
python setup.py install
Point to your configuration repo:
# Environment variables will be expanded. export $TOD_FILE_REPO='/path/to/your/repo'
Config Repo Layout
The Config Repo format is as follows:
Root Config Directory ├── files │ ├── file_a │ ├── ... │ └── file_z └── mapping.ini
The mapping.ini file maps configs from the files directory to their installation path. Currently everything lives under a default section, and all mappings are of the form CONFIG_FILE: INSTALL_PATH. An example config is shown below. It would map $REPO/files/vimrc to ~/.vimrc, and REPO/files/tmux.conf to ~/.tmux.conf:
[default] vimrc: ~/.vimrc tmux.conf: ~/.tmux.conf.
Usage
See the current status of the the config mapping:
tod status
Link a single config into the system:
tod link vimrc
Unlink a single config from the system:
tod unlink vimrc
TODO
Remove dependancy on git
Add multi-environment linking * specify new config sections. (ie, osx, ubuntu, etc.) * base off of defualt config?
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tod-0.1.tar.gz
.
File metadata
- Download URL: tod-0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
117bed96e8e43ee3045c017d73115d326942262558dfa00374148cd11c3d245b
|
|
MD5 |
4cc85b1a5c7906a89d6d71f03a566ae1
|
|
BLAKE2b-256 |
bb0686e170a2fbb0dbced7c43c270baa1b367d76491dc321aa255ee06d9ec61c
|