Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[BUG] umount mountpoint completion



Hello,

I noticed following bug since at least zsh 5.3:

> % cd /tmp
> % mkdir "a 0"
> % sudo mount -o bind /opt "a 0"
> % sudo umount "/tmp/a *TAB*

*TAB* is the position when tabulator key is pressed.
This results in 5.3 to this:

> % sudo umount "/tmp/a\ 0"

Which is of course invalid. And with 5.3.1 it results to this:

> % sudo umount "/tmp/a^@"

The hex value of the result is: 2f74 6d70 2f61 00.

Regards,

Ferdinand



Messages sorted by: Reverse Date, Date, Thread, Author