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

[bug] escaping spaces in _canonical_paths



Hi,

when I try to umount a directory "/mnt/name with spaces" and i type

# umount /mnt/n

i press tab and the path gets completed to

# umount /mnt/name\ with\ spaces


however, if I cd into /mnt and then try to umount the relative path

# cd /mnt
# umount nam

it gets completed to

# umount name with spaces

with no escapes for the spaces.

i don't know much about zsh completion, so unfortunately I can't
investigate further by myself.

zsh --version
zsh 5.3.1 (x86_64-unknown-linux-gnu)


Best regards,
Philipp G. Haselwarter



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