dotly icon indicating copy to clipboard operation
dotly copied to clipboard

Missing backup for existing files

Open jankrloz opened this issue 5 years ago • 3 comments

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.

jankrloz avatar Jan 22 '21 05:01 jankrloz

@rgomezcasas #152

gtrabanco avatar May 26 '21 01:05 gtrabanco

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

xserrat avatar Nov 20 '21 15:11 xserrat

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

gtrabanco avatar Nov 21 '21 20:11 gtrabanco