Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: tab comlpetion bug
- X-seq: zsh-workers 16971
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "Jeremy M. Dolan" <jmd@xxxxxxxxx>
- Subject: Re: tab comlpetion bug
- Date: Fri, 12 Apr 2002 14:35:13 -0700 (PDT)
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20020412162344.A2049@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: schaefer@xxxxxxxxxxxxxxxx
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author