zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Jan Fedak" <J.Fedak@sh.cvut.cz>,
	"Zsh workers" <zsh-workers@sunsite.auc.dk>
Subject: RE: erroneous completion when using {}
Date: Tue, 27 Jun 2000 20:11:39 +0400	[thread overview]
Message-ID: <001401bfe052$5ff9a6c0$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <20000627175558.A13719@tornado.sh.cvut.cz>

>
> Hello.
>
> When I use {} in a glob pattern like this:
>
> $ cat some/path/{directory\ 1, directory\ 2,_
>                                            ^
> 					   cursor :)
>
> and hit tab, my precious backslashes get lost:
>
> $ cat some/path/{directory 1,directory 2,directory\
>
> That is wrong and my glob pattern won't succeed later.
>
> Jan
>
> P.S. And my version: 3.1.6-dev-20, I use the new completion system.
>

Something like this happens in current CVS version (3.1.9-dev-1 +
patches).

bor@itsrm2% ls -1
a 1
a 2
a 3
bor@itsrm2% ls $PWD/{a\ 1,<CURSOR>a\ 2
                      (no blank between `,' and `a') after TAB
bor@itsrm2% ls $PWD/{a 1,a\ 2,
                      TAB once more
bor@itsrm2% ls $PWD/{a 1,a\ 2,
Completing `file'

The completion just after braces work:

bor@itsrm2% ls $PWD/{<TAB>
bor@itsrm2% ls $PWD/{a\ 1
Completing file
a\ 1   a\ 2   a\ 3
                     a-a-m-c
bor@itsrm2% ls $PWD/{a\ 1,a\ 2
Completing file
a\ 1   a\ 2   a\ 3

-andrej

P.S. curly braces are not glob pattern ...


  reply	other threads:[~2000-06-27 16:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-27 15:55 Jan Fedak
2000-06-27 16:11 ` Andrej Borsenkow [this message]
2000-06-28  9:22 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='001401bfe052$5ff9a6c0$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=J.Fedak@sh.cvut.cz \
    --cc=zsh-workers@sunsite.auc.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).