zip -r myarchive.zip <dirname>:w without a filenameThe strange thing here is: I use vim 9.2.81 on Arch linux, I have no PowerShell.
I guess that an error message is shown makes sense, if writing to the zip-file just can't be done.
But the error message does not make sense, if I have not the Shell that is mentioned (also: why is a shell involved?).
Writing the file with an explicit filename somewhere in a writable location on the computer's filesystem does work. So I guess the reason for the message makes sense, just not the message text.
An error message that describes the problem, and does not talk about some software that is not installed here as being the reason of the problem.
9.2.81
Arch Linux
xterm
bash
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
(also: why is a shell involved?).
The reason is simple: A shell is involved in unpacking the archive and showing you the content of it.
Can you reproduce this error message for any zip file?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
When just zipping normal files (not inside a directory), these files can be written.
But for zipped directories I tried some examples, and the problem then always appears.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()