Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: make completion on OpenBSD



--- Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Fri, 24 May 2002, Jukka Lehti wrote:
> 
> > I wrote:
> >
> > > compctl -s "\$(awk '/^[a-zA-Z0-9][^\/ \t]+:/
> {print
> > > \$1}' FS=: [mM]akefile)" -x 'c[-1,-f]' -f --
> > > {,g,gnu,p,v}make
> > >
> > > However, after I installed OpenBSD 3.1 and
> zsh-4.0.4,
> > > the above behaves strangely
> >
> > Well, after removing backslashed before $'s it
> started
> > to work on OpenBSD
> 
> Removing the backslashes is almost certainly the
> wrong thing to do, given
> that you have double quotes around the "$(awk ...}".
> 
> More likely you should check whether the values of
> your setopts are the
> same on OpenBSD as they are on Linux.  E.g., does
> one have sh_word_split
> set and the other not?

No. I did "setopt > opts" on both machines and diff
shows that the files are identical. Both machines have
zsh-4.0.4. OS are Red Hat Linux 7.3 and OpenBSD 3.1,
both pretty much at out-of-box state.

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



Messages sorted by: Reverse Date, Date, Thread, Author