Skip to content
New issue

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

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

Already on GitHub? # to your account

Session restoration fails when neovim is appimage #530

Open
me-nkr opened this issue Dec 21, 2024 · 0 comments
Open

Session restoration fails when neovim is appimage #530

me-nkr opened this issue Dec 21, 2024 · 0 comments

Comments

@me-nkr
Copy link

me-nkr commented Dec 21, 2024

when neovim being used is appimage, the executed command path is pointing to a path in /tmp directory ( you can observe this by reading the contents of the resurrect file found in ~/.local/share/nvim/resurrect ) and will be obviously lost on system restart

I would suggest that we add some way of dealing with this, the following is my suggestion
in _just_command add something like xargs basename sed 's/.*\/\(\w*\)/\1/' which will extract the last part of the path, or something modified to handle the other cases

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

No branches or pull requests

1 participant