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

Re: Problem completing variables that contain spaces



Wayne Davison wrote:

> 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.

I can't reproduce this.  Can you try to make it do that starting with
-f and tell us the setup?

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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