Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problem completing variables that contain spaces
- X-seq: zsh-workers 13812
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Problem completing variables that contain spaces
- Date: Wed, 28 Mar 2001 12:49:22 +0200 (MET DST)
- In-reply-to: Wayne Davison's message of Wed, 28 Mar 2001 02:35:10 -0800 (PST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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