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

Problem completing variables that contain spaces



I noticed that the new completion code in the latest zsh code is
having trouble completing a variable that expands to a value that
contains spaces.  For instance, I was trying to complete $PWD in
a directory path that contained a space:

 % mkdir 'two words'
 % chdir 'two words'
 % touch 1 2
 % ls -l $PWD/<TAB>

Instead of $PWD remaining unexpanded and starting menu completion, it
expands to something strange like:

    $PWD/full/path/goes/here/two\ words/

This problem is not specific to PWD.

..wayne..



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