You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The trash_dir variable defined in lua/sidebar-nvim/builtin/files.lua is incorrect for MacOS. This causes an error, since the given path cannot be found. The correct path is $HOME/.Trash/. This means that users on MacOS are unable to delete files using the sidebar.
To Reproduce
Steps to reproduce the behavior:
Open sidebar.nvim in MacOS
Hover over a file in the sidebar
Press the d key
Observer the error
Expected behavior
Deleted files should be moved to $HOME/.Trash and not raise an error.
Screenshots
Environment (please complete the following information):
nvim version
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1716656478
Run "nvim -V1 -v" for more info
Describe the bug
The
trash_dir
variable defined inlua/sidebar-nvim/builtin/files.lua
is incorrect for MacOS. This causes an error, since the given path cannot be found. The correct path is$HOME/.Trash/
. This means that users on MacOS are unable to delete files using the sidebar.To Reproduce
Steps to reproduce the behavior:
d
keyExpected behavior
Deleted files should be moved to
$HOME/.Trash
and not raise an error.Screenshots
Environment (please complete the following information):
Additional context
I was able to fix this issue on a personal fork by updating
trash_dir
to be$HOME/.Trash
.The text was updated successfully, but these errors were encountered: