CodelyTV / dotly

🌚 Modular and easy to customize dotfiles framework
https://codely.com/cursos
MIT License
1.2k stars 115 forks source link

Missing backup for existing files #76

Open jankrloz opened 3 years ago

jankrloz commented 3 years ago

There is not a disclaimer when you install dotly on a configured computer, the installation overwrites my existing .zshrc and replace them with the default template, I lost my configuration.

gtrabanco commented 3 years ago

@rgomezcasas #152

xserrat commented 2 years ago

Hi @gtrabanco ,

Is this issue fixed? I've just lost the whole config from my .zshrc... :'(

I think we should add a warning/alert in the README.md file informing about this issue and maybe a confirmation in the installer to inform that they'll lose the current configuration. What do you think @rgomezcasas ?

For whom with the same issue, here is a little help to restore the .zshrc based on an opened session with the lost configuration: https://superuser.com/questions/1043315/dumping-current-zshrc-from-terminal/1046861

gtrabanco commented 2 years ago

It is solved in .Sloth but the PR was open for months and after no feedback, approval or reject I decided to use only my fork to make some improvements where it is this one between some other.

I also apply the new patchs and features to dotly there. It is quite complex because it is a good idea parse the dotbot files to know which files you have to do a backup.

@xserrat