This prevents problems with programs which watch the file for changes and will first be presented an empty file. One such example which will show a notification message about an empty config file is Alacritty. By writing to a tempory file and then moving it (atomically?) to the real location this problem is mitigated.pull/229/head
parent
09a018ea5a
commit
a1845c6e8a
Loading…
Reference in new issue