Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upConfusion for Windows + WSL #102
Open
Labels
Comments
I use neither Windows nor WSL, so I cannot help much with this I'm afraid. But I'm happy to add a note or add a workaround if anyone can come up with a good solution. https://github.com/sindresorhus/is-wsl could be used to detect WSL. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have windows 10 + WSL (v1). I just installed this tool and tried to use it on a file inside WSL... I was expecting it to move the file to my Recycle Bin. It didn't work, but then I realized it put the file (renamed) inside
~/.local/share/Trash/files/
(according to that linux spec I guess).I now realize this wasn't going to work like I expected since the tool is running in a linux environment (WSL), not actual windows.
I'm not sure if there's any way to get this tool installed out in windows land and still be able to run it from inside WSL to do what I expected, but if that's possible it would be nice to add something about that to the documentation.
Alternately and minimally, it might be a good idea to point in the docs out that installing under WSL in Windows is actually installing in linux, and pointing out where deleted files will go. Could remove some future confusion I had for the last ~20 minutes.