Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _values does not quote inserted matches
- X-seq: zsh-workers 16979
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Re: _values does not quote inserted matches
- Date: Sat, 13 Apr 2002 23:26:13 +0000
- In-reply-to: <1018730307.16430.1.camel@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1018730307.16430.1.camel@xxxxxxxxxxxxxxxxxxxxx>
On Apr 14, 12:38am, Borsenkow Andrej wrote:
} Subject: _values does not quote inserted matches
}
} note, that match inserted into command line is not quoted that makes it
} impossible to complete more than one value.
The problem is this stuff at lines 54-58 of _values:
if [[ ${#noargs}+${#args}+${#opts} -ne 1 ]] && compvalues -s sep; then
sep=( "-qQS" "$sep" )
else
sep=()
fi
I don't know why the Q is included on line 55? It seems to all work OK if
I take it out.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author