* [mdz@debian.org: Bug#147853: zsh: CVS completion should respect $CVSIGNORE]
@ 2002-05-23 6:18 Clint Adams
2002-05-23 14:11 ` Bart Schaefer
0 siblings, 1 reply; 8+ messages in thread
From: Clint Adams @ 2002-05-23 6:18 UTC (permalink / raw)
To: zsh-workers
----- Forwarded message from Matt Zimmerman <mdz@debian.org> -----
>From the CVS docs "Ignoring files via cvsignore":
* The list is initialized to include certain file name patterns:
[...]
* The per-repository list in `$CVSROOT/CVSROOT/cvsignore' is
appended to the list, if that file exists.
* The per-user list in `.cvsignore' in your home directory is
appended to the list, if it exists.
* Any entries in the environment variable `$CVSIGNORE' is appended
to the list.
* Any `-I' options given to CVS is appended.
* As CVS traverses through your directories, the contents of any
`.cvsignore' will be appended to the list. The patterns found in
`.cvsignore' are only valid for the directory that contains them,
not for any sub-directories.
--- /tmp/_cvs.old Thu May 23 00:14:38 2002
+++ /usr/share/zsh/4.0.4/functions/Completion/Unix/_cvs Thu May 23 00:14:41 2002
@@ -964,6 +964,7 @@
${=cvsignore}
)
[[ -r ~/.cvsignore ]] && omitpats=($omitpats $(<~/.cvsignore))
+ omitpats=($omitpats $CVSIGNORE)
[[ -r ${realdir}.cvsignore ]] && omitpats=($omitpats $(<${realdir}.cvsignore))
_path_files -g "*~(*/|)(${(j:|:)~omitpats})(D.)"
----- End forwarded message -----
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [mdz@debian.org: Bug#147853: zsh: CVS completion should respect $CVSIGNORE]
2002-05-23 6:18 [mdz@debian.org: Bug#147853: zsh: CVS completion should respect $CVSIGNORE] Clint Adams
@ 2002-05-23 14:11 ` Bart Schaefer
2002-05-25 22:54 ` Clint Adams
0 siblings, 1 reply; 8+ messages in thread
From: Bart Schaefer @ 2002-05-23 14:11 UTC (permalink / raw)
To: Clint Adams; +Cc: zsh-workers
On Thu, 23 May 2002, Clint Adams wrote:
> * Any entries in the environment variable `$CVSIGNORE' is appended
> to the list.
> --- /tmp/_cvs.old Thu May 23 00:14:38 2002
> +++ /usr/share/zsh/4.0.4/functions/Completion/Unix/_cvs Thu May 23 00:14:41 2002
> + omitpats=($omitpats $CVSIGNORE)
Shouldn't that be something like
omitpats=($omitpats $=CVSIGNORE)
?? ("Any entries", plural ...)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [mdz@debian.org: Bug#147853: zsh: CVS completion should respect $CVSIGNORE]
2002-05-23 14:11 ` Bart Schaefer
@ 2002-05-25 22:54 ` Clint Adams
2002-05-26 6:41 ` Borsenkow Andrej
0 siblings, 1 reply; 8+ messages in thread
From: Clint Adams @ 2002-05-25 22:54 UTC (permalink / raw)
To: Bart Schaefer; +Cc: zsh-workers
> Shouldn't that be something like
>
> omitpats=($omitpats $=CVSIGNORE)
>
> ?? ("Any entries", plural ...)
Yes, probably. Now I'm wondering what the $=cvsignore bit is supposed
to do.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [mdz@debian.org: Bug#147853: zsh: CVS completion should respect $CVSIGNORE]
2002-05-25 22:54 ` Clint Adams
@ 2002-05-26 6:41 ` Borsenkow Andrej
2002-05-26 14:37 ` Clint Adams
0 siblings, 1 reply; 8+ messages in thread
From: Borsenkow Andrej @ 2002-05-26 6:41 UTC (permalink / raw)
To: Clint Adams; +Cc: Bart Schaefer, Zsh hackers list
В Вск, 26.05.2002, в 02:54, Clint Adams написал:
> > Shouldn't that be something like
> >
> > omitpats=($omitpats $=CVSIGNORE)
> >
> > ?? ("Any entries", plural ...)
>
> Yes, probably. Now I'm wondering what the $=cvsignore bit is supposed
> to do.
>
It is supposed to split the value using IFS as separator :-)
{pts/0}% foo='a b c'
{pts/0}% print -l $foo
a b c
{pts/0}% print -l $=foo
a
b
c
-andrej
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [mdz@debian.org: Bug#147853: zsh: CVS completion should respect $CVSIGNORE]
2002-05-26 6:41 ` Borsenkow Andrej
@ 2002-05-26 14:37 ` Clint Adams
2002-05-26 16:13 ` Borsenkow Andrej
0 siblings, 1 reply; 8+ messages in thread
From: Clint Adams @ 2002-05-26 14:37 UTC (permalink / raw)
To: Borsenkow Andrej; +Cc: Bart Schaefer, Zsh hackers list
> It is supposed to split the value using IFS as separator :-)
Yes, yes. Value of what?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [mdz@debian.org: Bug#147853: zsh: CVS completion should respect $CVSIGNORE]
2002-05-26 14:37 ` Clint Adams
@ 2002-05-26 16:13 ` Borsenkow Andrej
2002-05-26 16:34 ` Clint Adams
0 siblings, 1 reply; 8+ messages in thread
From: Borsenkow Andrej @ 2002-05-26 16:13 UTC (permalink / raw)
To: Clint Adams; +Cc: Bart Schaefer, Zsh hackers list
В Вск, 26.05.2002, в 18:37, Clint Adams написал:
> > It is supposed to split the value using IFS as separator :-)
>
> Yes, yes. Value of what?
>
CVSIGNORE I am not mistaken?
-andrej
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [mdz@debian.org: Bug#147853: zsh: CVS completion should respect $CVSIGNORE]
2002-05-26 16:13 ` Borsenkow Andrej
@ 2002-05-26 16:34 ` Clint Adams
2002-05-26 17:44 ` Bart Schaefer
0 siblings, 1 reply; 8+ messages in thread
From: Clint Adams @ 2002-05-26 16:34 UTC (permalink / raw)
To: Borsenkow Andrej; +Cc: Bart Schaefer, Zsh hackers list
> CVSIGNORE I am not mistaken?
_cvs has ${=cvsignore} in it. $CVSIGNORE is used by CVS.
I don't know what $cvsignore is supposed to be.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [mdz@debian.org: Bug#147853: zsh: CVS completion should respect $CVSIGNORE]
2002-05-26 16:34 ` Clint Adams
@ 2002-05-26 17:44 ` Bart Schaefer
0 siblings, 0 replies; 8+ messages in thread
From: Bart Schaefer @ 2002-05-26 17:44 UTC (permalink / raw)
To: Zsh hackers list
On Sun, 26 May 2002, Clint Adams wrote:
> > CVSIGNORE I am not mistaken?
>
> _cvs has ${=cvsignore} in it. $CVSIGNORE is used by CVS.
> I don't know what $cvsignore is supposed to be.
Upon inspection, I suspect that it's supposed to be $CVSIGNORE. The only
person who'd really know is Tanaka Akira, and I don't think he's reading
the list any more.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2002-05-26 17:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-23 6:18 [mdz@debian.org: Bug#147853: zsh: CVS completion should respect $CVSIGNORE] Clint Adams
2002-05-23 14:11 ` Bart Schaefer
2002-05-25 22:54 ` Clint Adams
2002-05-26 6:41 ` Borsenkow Andrej
2002-05-26 14:37 ` Clint Adams
2002-05-26 16:13 ` Borsenkow Andrej
2002-05-26 16:34 ` Clint Adams
2002-05-26 17:44 ` Bart Schaefer
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).