Too many levels of symbolic links nvim

29 views Asked by At

I have used my nvim config folder (~/.config/nvim) for a long time, and now suddenly i cant access it. I am not very familiar with symlinks and i have not created this link myself. I also find i wierd that the relative path .nvim is linked to its own absolute path /home/bjoernp/.config/nvim

Is this symlink necessary or would i be able to remove this link? How can i access my nvim folder?

~/.config$ cd nvim
-bash: cd: nvim: Too many levels of symbolic links
~/.config$ nvim
~/.config$ tree --noreport -fp
[drwxr-xr-x]  .
├── [drwxr-xr-x]  ./flutter
│   └── [-rw-r--r--]  ./flutter/tool_state
├── [lrwxrwxrwx]  ./nvim -> /home/bjoernp/.config/nvim
└── [drwxr-xr-x]  ./zathura
    └── [-rw-r--r--]  ./zathura/zathurarc

I am using an Ubuntu WSL

1

There are 1 answers

3
Silass On

you can remove the symbolic link pointing to itself by running the following command in your terminal:

unlink ~/.config/nvim