Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora Atomic variants break recent projects path #448

Open
pm4rcin opened this issue Apr 27, 2024 · 1 comment
Open

Fedora Atomic variants break recent projects path #448

pm4rcin opened this issue Apr 27, 2024 · 1 comment

Comments

@pm4rcin
Copy link

pm4rcin commented Apr 27, 2024

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:

  1. Open neovim on Fedora Atomic variant
  2. See path being wrong in projects

Expected behavior
Path should be ~/Repos/dwl.

Screenshots
20240427_10h26m47s_grim

@pm4rcin
Copy link
Author

pm4rcin commented Sep 11, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant