zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: "Jeremy M. Dolan" <jmd@pobox.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: tab comlpetion bug
Date: Fri, 12 Apr 2002 14:35:13 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0204121430030.23748-100000@ns1.sodaware.com> (raw)
In-Reply-To: <20020412162344.A2049@foozle.jmd>

On Fri, 12 Apr 2002, Jeremy M. Dolan wrote:

>  % cd "aaa\!       <-- what zsh changes it to
>    *hit tab again*
>
> No matches found. It works ok if I don't put the " at the begining.

It works if you "setopt no_bang_hist", or if you use single quotes (but
note that if you're using the new completion system it won't work exactly
as you have it there, because the argument to "cd" must be a directory).

The problem is that inside the completion system zsh doesn't know that the
backslash in front of the exclamation point is there solely for the
purpose of preventing a history expansion.  So it is trying to complete
files whose names contain a literal backslash-bang.


  reply	other threads:[~2002-04-12 21:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-12 21:23 Jeremy M. Dolan
2002-04-12 21:35 ` Bart Schaefer [this message]
2002-04-16  7:50   ` Sven Wischnowsky

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=Pine.LNX.4.44.0204121430030.23748-100000@ns1.sodaware.com \
    --to=schaefer@brasslantern.com \
    --cc=jmd@pobox.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).