dashboard-nvim
dashboard-nvim copied to clipboard
Fedora Atomic variants break recent projects path
Describe the bug
Hi, on Fedora Atomic e.g. Silverblue, Kinoite, Sway and Budgie home is symlinked to /var/home and when the dashboard opens there's following output on projects:
Recent Projects:
/var~/Repos/dwl
which of course breaks things so you can't enter the project directory. What's interesting is the recent files have proper names. To Reproduce Steps to reproduce the behavior:
- Open neovim on Fedora Atomic variant
- See path being wrong in projects
Expected behavior
Path should be ~/Repos/dwl.
Screenshots
So it looks like because dashboard or nvim changes /home/user to ~ automatically it breaks itself. But when I deleted the /var part from cache manually then it went to normal. So to fix it I think there needs to be a piece of code that checks if the path contains /var/home/* and throw the /var part away or the function should be modified to return relative path (home dir). Could anyone tell me if it's neovim or lua code that creates this mess?