Save and deploy your dotfiles on any git version control system like Codeberg.
Go to file
Santiago Lo Coco 040fa2a9d3 Remove comments 2022-01-10 00:45:59 -03:00
dotfiles Update .zshrc 2022-01-03 13:50:55 -03:00
scripts Remove comments 2022-01-10 00:45:59 -03:00
templates Add more validations 2021-12-26 19:40:13 -03:00
.gitignore Delete .txt files 2022-01-03 13:41:07 -03:00
LICENSE.md Create LICENSE.md 2021-12-21 18:43:19 -03:00
README.md Update README.md 2022-01-09 21:03:20 -03:00

README.md

CocoRice

Backup all your dotfiles (and easily deploy them on another machine).

Table of contents

Installation

Fork this repository.

Usage

You have to move all your dotfiles to the dotfiles folder and then the script will do the symbolic links. Doing it this way, you can now upload them to your repository (to have a backup of them).

You should note that all these dotfiles (files or folders) will be symlinked in $HOME. So, if you want to symlink, for example, something in /etc, you have to put it in the dotfiles/other folder. Here you have to be careful as they will be installed in /. You can see an example here.

So, to run the script:

sh scripts/bootstrap.sh

By default the script will run with whiptail (libnewt).

However, the script can use both dialog and whiptail as a way to display dialog boxes, so if you want to use dialog you have to pass -d as a parameter, and if you want to use whiptail -w.

For example, you can run

sh scripts/bootstrap.sh -d

to use dialog.

Finally, you can run the script with -f if you want to print the log in the CocoRice.log file.

Dependencies

You must install libnewt or dialog.

Contributing

PRs are welcome.

License

MIT