zsh-workers
 help / color / mirror / code / Atom feed
From: Felix Eckhofer <felix@tribut.de>
To: zsh-workers@sunsite.dk
Subject: Completion fails to properly escape parenthesis
Date: Sat, 3 Feb 2007 02:39:02 +0100	[thread overview]
Message-ID: <200702030239.03718.felix@tribut.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 737 bytes --]

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). Of course in this example "setopt NO_bad_pattern" would 
help, but that's a workaround at best.
I'm now officially giving up on finding where that escaping takes place 
in zsh, because at 2:38 I thing I deserve some sleep. If anyone could 
kindly point me to the right place I will gladly provide a patch. 
Tomorrow.


Good night,
felix
-- 
felix_eckhofer  *  [fli4l-/eis-team]  *  ICQ#_59008162

"Ein Betriebssystem sie zu knechten, sie alle zu finden,
 ins Dunkle zu treiben und ewig zu binden..."

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2007-02-03  1:39 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 [this message]
2007-02-03 14:42   ` Peter Stephenson
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=200702030239.03718.felix@tribut.de \
    --to=felix@tribut.de \
    --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).