Closed alexmailo closed 2 years ago
Hey @alexmailo thank you for opening the issue, we are creating backups because some users have ran on corrupted alacritty.yml file.
We are aware of you will ended up with several backup files but we didn't agree in the best way to manage them, should we remove all of them and keep the last backup? What happen if the last backup is corrupted and we removed the good one?
That's the reason for now we think it's easy to the user remove them manually with the following command rm ~/.config/alacritty/
Do you have any idea to improve it?
Best!
HI @JuanVqz , thanks for the quick response.
Me personally, I wouldn't even allow the user to run the script on a corrupted alacritty.conf
. I would probably throw an error saying that the config is corrupted or something, and let them solve it. After all, it is not your fault they got a corrupted config file.
With respect to the backups, I think that having the user remove backups manually is not an option as it will get chaotic (as in probably thousands of backups) and that there should only be one backup in case the user regrets applying the changes, but that is just my opinion.
Other than that I love this app and am probably going to make a PR with some new themes if that is okay.
HI @JuanVqz , thanks for the quick response.
* Me personally, I wouldn't even allow the user to run the script on a corrupted `alacritty.conf`. I would probably throw an error saying that the config is corrupted or something, and let them solve it. After all, it is not your fault they got a corrupted config file. * With respect to the backups, I think that having the user remove backups manually is not an option as it will get chaotic (as in probably thousands of backups) and that there should only be one backup in case the user regrets applying the changes, but that is just my opinion.
Probably, we are breaking the alacritty.yml when changing themes faster here you have the related issue https://github.com/rajasegar/alacritty-themes/issues/131
Other than that I love this app and am probably going to make a PR with some new themes if that is okay.
Nice, themes are pretty welcome
I'll add a flag to remove backups, in the mean time I'll close this issue, if you have an idea how to manage backups feel free to open a new issue, thank! 😉
Describe the bug
Looks like every time it runs, it creates a backup file for some reason. Was wondering if that is necessary or is it a bug?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Just run normally without creating multiple backup files
Operating System:
Add your alacritty.yml content
Screenshots