ReHome
Script to deploy and maintain home easily The goal is to setup all environment with a single command
- keep your dotfiles in repository
- define home config (shell and dependencies) in
.rehome.json
wget https://raw.githubusercontent.com/hiqdev/rehome/master/rehome ; python rehome init me/dotfiles
- Congrats! You're done with setuping all your environment to a new desktop or server.
Configuration
The main config file is .rehome.json
Here is example config:
{
"dotfiles": "hiqsol/dotfiles",
"shell": "zsh",
"installs": {
"zsh": "system",
"tmux": "system",
"composer": [
"wget https://getcomposer.org/installer -O composer-setup.php",
"php composer-setup.php --install-dir=bin --filename=composer"
]
},
"updates": {
"bin/composer": [
"bin/composer self-update",
"bin/composer global update"
],
"prj/hiqdev/hidev/vendor": [
"cd prj/hiqdev/hidev ; composer update"
]
}
}
Looks quite clear:
dotfiles
- generally accessable dotfiles repositoryshell
- shell to be set withchsh
installs
- array of path => commands to be run if path doesn't existupdates
- array of path => commands to be run on update
License
This project is released under the terms of the BSD-3-Clause license. Read more here.
Copyright © 2016-2017, HiQDev (http://hiqdev.com/)