From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-workers@sunsite.dk
Subject: Re: Completion fails to properly escape parenthesis
Date: Sat, 03 Feb 2007 14:42:04 +0000 [thread overview]
Message-ID: <200702031442.l13Eg4iS003241@pwslaptop.csr.com> (raw)
In-Reply-To: Message from Felix Eckhofer <felix@tribut.de> of "Sat, 03 Feb 2007 02:39:02 +0100." <200702030239.03718.felix@tribut.de>
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@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
next prev parent reply other threads:[~2007-02-03 14:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <felix@tribut.de>
2007-02-03 1:39 ` Felix Eckhofer
2007-02-03 14:42 ` Peter Stephenson [this message]
2007-02-03 15:58 ` Felix Eckhofer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200702031442.l13Eg4iS003241@pwslaptop.csr.com \
--to=p.w.stephenson@ntlworld.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).