You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If ~/.config/plover/plover.cfg is a symlink to somewhere else, config changes made in Plover delete the symlink and create a new ~/.config/plover/plover.cfg.
There's a difference between the two files, ~/.config/plover/plover.cfg is no longer a symlink, and ~/.dotfiles/plover.cfg does not have the latest edits
Expected behavior
I expect Plover to follow the symlink and update the indicated config file, rather than create a new one. My guess is the suggested solution in #823 would fix this too.
Operating system
OS: Arch Linux
Plover Version 4.0.0.dev12+8.g90575048
The text was updated successfully, but these errors were encountered:
Not really, the cause is different.
Plover writes to a temporary configuration file, and if that is successful, it atomically (I assume?) moves the new configuration file to the original file.
It's important that the temporary file is on the same file system as the target file to be moved to (TODO check)
If the user intentionally create a symbolic link, this seems to be more desirable. However, if in some case a symbolic link is unintentionally created, problem happens.
Describe the bug
If
~/.config/plover/plover.cfg
is a symlink to somewhere else, config changes made in Plover delete the symlink and create a new~/.config/plover/plover.cfg
.To Reproduce
Steps to reproduce the behavior:
$ mv ~/.config/plover/plover.cfg ~/.dotfiles/plover.cfg
$ ln -s ~/.dotfiles/plover.cfg ~/.config/plover/plover.cfg
~/.dotfiles/plover.cfg ~/.config/plover/plover.cfg
~/.config/plover/plover.cfg
is no longer a symlink, and~/.dotfiles/plover.cfg
does not have the latest editsExpected behavior
I expect Plover to follow the symlink and update the indicated config file, rather than create a new one. My guess is the suggested solution in #823 would fix this too.
Operating system
The text was updated successfully, but these errors were encountered: