making backup doesnt support all linux config paths
See original GitHub issueDescibe the bug
If alacritty config file is not $HOME/.config/alacritty/alacritty.yml
, (in my case it is $HOME/.alacritty.yml
) it will throw an error
Steps to reproduce
- Installation:
- installed using
npm i -g alacritty-themes
- installed using
- Running:
- just ran
alacritty-themes
- just ran
Expected Behavior
Running normally, without errors
Operating System
Arch Linux (Manjaro)
Screenshots
I’ve looked around the source code a bit. Looks like the problem is from createBackup function. On Linux, when it checks if the config exist, it will check both $HOME/.config/alacritty/alacritty.yml
and $HOME/.alacritty.yml
. But when it creates a backup file it will always use $HOME/.config/alacritty/alacritty.yml
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
9 Linux directories you must back up and one you shouldn't
This article guides you as to what you should and should not include in your backups.
Read more >A Complete Guide to Linux Config Files | CBT Nuggets
You see, editing Linux configuration files can be a long, monotonous task, but it's a process that every Linux admin must learn. Luckily,...
Read more >Change default database file and backup paths in SQL Server ...
In this article, we will view the process to change the default database files and backup locations in SQL Server on Linux.
Read more >How To Backup of Config Files Periodically without Panorama
Download and extract CURL to a folder. If the CURL command should be accessible universally, then add the extract CURL folder to PATH...
Read more >How to set up backups - torsion.org projects
If you'd like to specify an alternate configuration file path, use the --config flag. See borgmatic --help and borgmatic create --help for more...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
a quick and good solution could be, even if the
alacritty.yml
file is in the $HOME directory we will create the backups files in this path$HOME/.config/alacritty/
Thanks! But as you said, creating backup files in home direcotry is not really a neat solution. I think fixing this bug needs an oponionated solution which is beyond me.🙂