Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion fails to properly escape parenthesis
- X-seq: zsh-workers 23148
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Completion fails to properly escape parenthesis
- Date: Sat, 03 Feb 2007 14:42:04 +0000
- In-reply-to: Message from Felix Eckhofer <felix@xxxxxxxxx> of "Sat, 03 Feb 2007 02:39:02 +0100." <200702030239.03718.felix@xxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Felix Eckhofer wrote:
> --nextPart1267650.dR9JUp2fVv
> Content-Type: text/plain;
> charset="utf-8"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
>
> Hi.
>
> Have a look at this short session:
> > $ mkdir 'some(dir'
> > $ cd some<TAB>
> > $ cd some\(dir
> > cd:5: bad pattern: some(dir
>
> Obviously, completion fails to escape the '(' properly ("cd some\\\(dir
> works fine).
I must be missing the point here. some\(dir is exactly the right
quoting for a single parenthesis; the result has just the same effect as
'some(dir'. Is your cd doing something clever with patterns? In that
case the problem is there.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author