Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Problem completing variables that contain spaces
- X-seq: zsh-workers 13811
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Problem completing variables that contain spaces
- Date: Wed, 28 Mar 2001 02:35:10 -0800 (PST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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