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

Bug in umount completion



Hi all,

zsh 4.3.4 fails to fully escape mounted directories.

To reproduce:

  mkdir -p "/tmp/foo's bar"
  mount /dev/whatever "/tmp/foo's bar" #note that completing on this will work
  umount /tmp/f<tab>

this gives me:

  umount /media/foo's\040bar

As you can see, the apostrophe is not escaped, thus hitting enter will get you
into quote-mode.

As an aside, the whitespace is completed as \040 which is also strange.


Richard



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