micro
micro copied to clipboard
symbolic links are sometimes replaced with a normal file
Description of the problem or steps to reproduce
I store my config files (bindings.json
and settings.json
) in Dropbox and I put symbolic links on them in my ~/.config/micro
folder. The advantage is that my settings are automatically synced on all my machines.
However, when I edit these files via the symbolic links, sometimes they are replaced with a normal file, i.e. with the normal file where the links pointed. After editing, they are not symlinks any more but normal, regular files. So in this case I need to upload to Dropbox the current version, delete the file and make a symlink on the Dropbox version.
My folder ~/.config/micro
is on my local machine, not in Dropbox. In this folder I have symlinks pointing to some files in Dropbox.
It's a strange thing because it doesn't happen all the time. Sometimes the link remains a link after editing it.
Version: 2.0.13 Commit hash: 68d88b57 OS: Manjaro Linux Terminal: wezterm
PLS see my entry (3096).
A problem not far away from yours....I am NOT using micro ANYMORE to change micro configuration files. Results are impossible to predict. Micro is loading some old files (from where ?), changes are not written to the disk, deleted lines are back by some magic...
I am also closing micro while changing configuration files.