This dotfiles were originally created using 🌚 dotly. But after some time I migrate to use Sloth because I develop many features to dotly that were not approved after a while and, because, I could not advance more in the development when I wanted, I made my own fork that I have called it Sloth.
This dotfiles are quite close to complete example of the features that Sloth has.
See the information in .Sloth project
Dotfiles are not meant to be cloned and used as template repository. Dotfiles content are personal configuration that probably does not fit to you. This is just and advert, see, click a start, learn and copy.
Feel free to use (issues)[issues] to ask something, report a bug, make a correction in any code or whatever you want to say, ask or teach. I will reply, be sure about it.
This requieres a newer version than official DOTLY version which is in my fork.
- Generate ssh key or import the old one (not recommended) and add it to your GitHub or elsewhere you stored your dotfiles (the public key) to import your dotfiles if the repository is private and to be able to modify your dotfiles.
- Do the same with the repository you have your secrets (if you have your secrets in a repository :).
- Use script to restore
bash <(curl -s https://raw.githubusercontent.com/gtrabanco/sloth/HEAD/restorer)
- Apply your secrets:
dot secrets apply
- Restart your terminal
- Import your packages
dot package import
- Generate ssh key or import the old one (not recommended) and add it to your GitHub or elsewhere you stored your dotfiles (the public key) to import your dotfiles if the repository is private and to be able to modify your dotfiles.
- Do the same with the repository you have your secrets (if you have your secrets in a repository :).
- Clone your dotfiles repository
git clone [your repository of dotfiles] $HOME/.dotfiles
- Go to your dotfiles folder
cd $HOME/.dotfiles
- Install git submodules
git submodule update --init --recursive
- Install your dotfiles
DOTFILES_PATH="$HOME/.dotfiles" DOTLY_PATH="$DOTFILES_PATH/modules/sloth" SLOTH_PATH="$DOTLY_PATH" "$DOTLY_PATH/bin/dot" self install
- Apply your secrets:
dot secrets apply
- Restart your terminal
- Import your packages
dot package import
After dot package import
:
/usr/local/Caskroom/paragon-ntfs/15/FSInstaller.app
Those scripts are not ready for production and could end in a lost of private data that can not be recovered or easy recovered. I do not recommend at all the use of those scripts yet for files.
I recommend and are running very well for TOKEN variables without exposing the token values in your repository.
Go Secrets scripts folder to view more information.